@inContext

The @inContext directive alters the behavior of queries and mutations based on the specified country, enabling localization of price values and currencies. This directive ensures that the prices are converted to the currency of the given country.

Arguments:

  • country (required): The country for which the localization should be applied. This argument should be of type Country.