Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix punctiation
Marcin Gębala4dd1e2f6baa6
diff --git a/saleor/graphql/product/types/products.py b/saleor/graphql/product/types/products.pyindex a21dd81930..8a7e975469 100644--- a/saleor/graphql/product/types/products.py+++ b/saleor/graphql/product/types/products.py@@ -167,21 +167,21 @@ class ProductVariant(CountableDjangoObjectType):description="Quantity of a product in the store's possession, ""including the allocated stock that is waiting for shipment.",deprecation_reason=(- "Use the stock field instead. This field will be removed after 2020-07-31"+ "Use the stock field instead. This field will be removed after 2020-07-31."),)quantity_allocated = graphene.Int(required=False,description="Quantity allocated for orders",deprecation_reason=(- "Use the stock field instead. This field will be removed after 2020-07-31"+ "Use the stock field instead. This field will be removed after 2020-07-31."),)stock_quantity = graphene.Int(required=True,description="Quantity of a product available for sale.",deprecation_reason=(- "Use the stock field instead. This field will be removed after 2020-07-31"+ "Use the stock field instead. This field will be removed after 2020-07-31."),)price_override = graphene.Field(@@ -201,7 +201,7 @@ class ProductVariant(CountableDjangoObjectType):is_available = graphene.Boolean(description="Whether the variant is in stock and visible or not.",deprecation_reason=(- "Use the stock field instead. This field will be removed after 2020-07-31"+ "Use the stock field instead. This field will be removed after 2020-07-31."),)@@ -389,7 +389,7 @@ class Product(CountableDjangoObjectType):url = graphene.String(description="The storefront URL for the product.",required=True,- deprecation_reason="This field will be removed after 2020-07-31",+ deprecation_reason="This field will be removed after 2020-07-31.",)thumbnail = graphene.Field(Image,@@ -764,7 +764,7 @@ class Category(CountableDjangoObjectType):)url = graphene.String(description="The storefront's URL for the category.",- deprecation_reason="This field will be removed after 2020-07-31",+ deprecation_reason="This field will be removed after 2020-07-31.",)children = PrefetchingConnectionField(lambda: Category, description="List of children of the category."diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex a7ba39f640..311d4b72ef 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -525,7 +525,7 @@ type Category implements Node & ObjectWithMetadata {meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")ancestors(before: String, after: String, first: Int, last: Int): CategoryCountableConnectionproducts(before: String, after: String, first: Int, last: Int): ProductCountableConnection- url: String @deprecated(reason: "This field will be removed after 2020-07-31")+ url: String @deprecated(reason: "This field will be removed after 2020-07-31.")children(before: String, after: String, first: Int, last: Int): CategoryCountableConnectionbackgroundImage(size: Int): Imagetranslation(languageCode: LanguageCodeEnum!): CategoryTranslation@@ -3170,7 +3170,7 @@ type Product implements Node & ObjectWithMetadata {metadata: [MetadataItem]!privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")- url: String! @deprecated(reason: "This field will be removed after 2020-07-31")+ url: String! @deprecated(reason: "This field will be removed after 2020-07-31.")thumbnail(size: Int): Imagepricing: ProductPricingInfoisAvailable: Boolean@@ -3579,12 +3579,12 @@ type ProductVariant implements Node & ObjectWithMetadata {metadata: [MetadataItem]!privateMeta: [MetaStore]! @deprecated(reason: "Use the `privetaMetadata` field. This field will be removed after 2020-07-31.")meta: [MetaStore]! @deprecated(reason: "Use the `metadata` field. This field will be removed after 2020-07-31.")- quantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")- quantityAllocated: Int @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")- stockQuantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")+ quantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31.")+ quantityAllocated: Int @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31.")+ stockQuantity: Int! @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31.")priceOverride: Moneypricing: VariantPricingInfo- isAvailable: Boolean @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31")+ isAvailable: Boolean @deprecated(reason: "Use the stock field instead. This field will be removed after 2020-07-31.")attributes: [SelectedAttribute!]!costPrice: Moneymargin: Int