Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add missing depreceated msg
Maciej Korycinskif9f612bed003
diff --git a/saleor/graphql/account/schema.py b/saleor/graphql/account/schema.pyindex 7eb60fed23..f817f05f18 100644--- a/saleor/graphql/account/schema.py+++ b/saleor/graphql/account/schema.py@@ -310,19 +310,29 @@ class AccountMutations(graphene.ObjectType):service_account_update_private_metadata = ServiceAccountUpdatePrivateMeta.Field(deprecation_reason=(- "Will be removed in Saleor 2.11."- "Use the `UpdatePrivateMetadata` mutation instead."+ "This field will be removed after 2020-07-31."+ "Use the `UpdatePrivateMetadata` mutation with App instead."))service_account_clear_private_metadata = ServiceAccountClearPrivateMeta.Field(deprecation_reason=(- "Will be removed in Saleor 2.11."- "Use the `DeletePrivateMetadata` mutation instead."+ "This field will be removed after 2020-07-31."+ "Use the `DeletePrivateMetadata` mutation with App instead."))- service_account_token_create = ServiceAccountTokenCreate.Field()- service_account_token_delete = ServiceAccountTokenDelete.Field()+ service_account_token_create = ServiceAccountTokenCreate.Field(+ deprecation_reason=(+ "Use the `appTokenCreate` mutation instead. This field will be removed "+ "after 2020-07-31."+ )+ )+ service_account_token_delete = ServiceAccountTokenDelete.Field(+ deprecation_reason=(+ "Use the `appTokenDelete` mutation instead. This field will be removed "+ "after 2020-07-31."+ )+ )# Permission group mutationspermission_group_create = PermissionGroupCreate.Field()diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 338ccb8e05..941f754027 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -2411,10 +2411,10 @@ type Mutation {serviceAccountCreate(input: ServiceAccountInput!): ServiceAccountCreate @deprecated(reason: "Use the `appCreate` mutation instead. This field will be removed after 2020-07-31.")serviceAccountUpdate(id: ID!, input: ServiceAccountInput!): ServiceAccountUpdate @deprecated(reason: "Use the `appUpdate` mutation instead. This field will be removed after 2020-07-31.")serviceAccountDelete(id: ID!): ServiceAccountDelete @deprecated(reason: "Use the `appDelete` mutation instead. This field will be removed after 2020-07-31.")- serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `UpdatePrivateMetadata` mutation instead.")- serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta @deprecated(reason: "Will be removed in Saleor 2.11.Use the `DeletePrivateMetadata` mutation instead.")- serviceAccountTokenCreate(input: ServiceAccountTokenInput!): ServiceAccountTokenCreate- serviceAccountTokenDelete(id: ID!): ServiceAccountTokenDelete+ serviceAccountUpdatePrivateMetadata(id: ID!, input: MetaInput!): ServiceAccountUpdatePrivateMeta @deprecated(reason: "This field will be removed after 2020-07-31.Use the `UpdatePrivateMetadata` mutation with App instead.")+ serviceAccountClearPrivateMetadata(id: ID!, input: MetaPath!): ServiceAccountClearPrivateMeta @deprecated(reason: "This field will be removed after 2020-07-31.Use the `DeletePrivateMetadata` mutation with App instead.")+ serviceAccountTokenCreate(input: ServiceAccountTokenInput!): ServiceAccountTokenCreate @deprecated(reason: "Use the `appTokenCreate` mutation instead. This field will be removed after 2020-07-31.")+ serviceAccountTokenDelete(id: ID!): ServiceAccountTokenDelete @deprecated(reason: "Use the `appTokenDelete` mutation instead. This field will be removed after 2020-07-31.")permissionGroupCreate(input: PermissionGroupCreateInput!): PermissionGroupCreatepermissionGroupUpdate(id: ID!, input: PermissionGroupInput!): PermissionGroupUpdatepermissionGroupDelete(id: ID!): PermissionGroupDelete