Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Drop deprecated fields from Shop (#6524)

Damian Wysocki8d3b4a500b26
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 6d2b7f1d3f..5843bbf39f 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -4734,8 +4734,6 @@ type Shop {
geolocalization: Geolocalization
authorizationKeys: [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: CountryDisplay
defaultMailSenderName: String
defaultMailSenderAddress: String
diff --git a/saleor/graphql/shop/types.py b/saleor/graphql/shop/types.py
index 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."
)