Skip to content

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

Change 'deprecation_reason' description for 'localized' field in Money type

IKarbowiak025efc5f8b46
diff --git a/saleor/graphql/core/types/money.py b/saleor/graphql/core/types/money.py
index 9b10ef01cb..da10996bb0 100644
--- a/saleor/graphql/core/types/money.py
+++ b/saleor/graphql/core/types/money.py
@@ -11,7 +11,7 @@ class Money(graphene.ObjectType):
description="Money formatted according to the current locale.",
required=True,
deprecation_reason="DEPRECATED: Will be removed in Saleor 2.11. "
- "Price formatting according to the current locale will be "
+ "Price formatting according to the current locale should be "
"handled by the frontend client.",
)
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 7c3ecdd1e1..99cc5161d6 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -2004,7 +2004,7 @@ type MetaStore {
type Money {
currency: String!
amount: Float!
- localized: String! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. Price formatting according to the current locale will be handled by the frontend client.")
+ localized: String! @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.11. Price formatting according to the current locale should be handled by the frontend client.")
}
type MoneyRange {