Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Drop deprecated fields from Shop (#6524)
Damian Wysocki8d3b4a500b26
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 6d2b7f1d3f..5843bbf39f 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -4734,8 +4734,6 @@ type Shop {geolocalization: GeolocalizationauthorizationKeys: [AuthorizationKey]!countries(languageCode: LanguageCodeEnum): [CountryDisplay!]!- currencies: [String]! @deprecated(reason: "This field will be removed in Saleor 3.0")- defaultCurrency: String! @deprecated(reason: "This field will be removed in Saleor 3.0")defaultCountry: CountryDisplaydefaultMailSenderName: StringdefaultMailSenderAddress: Stringdiff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.pyindex 794c8c54ad..6199db6675 100644--- a/saleor/graphql/shop/types.py+++ b/saleor/graphql/shop/types.py@@ -95,17 +95,6 @@ class Shop(graphene.ObjectType):description="List of countries available in the shop.",required=True,)- currencies = graphene.List(- graphene.String,- description="List of available currencies.",- required=True,- deprecation_reason="This field will be removed in Saleor 3.0",- )- default_currency = graphene.String(- description="Shop's default currency.",- required=True,- deprecation_reason="This field will be removed in Saleor 3.0",- )default_country = graphene.Field(CountryDisplay, description="Shop's default country.")