Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add description to translations query
Michał Jelonekfa094e2fb5bf
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 6f3b94eea1..cd78df319e 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -2177,7 +2177,7 @@ enum TransactionKind {VOID}-union TranslatableItem = Product | Category | Collection | Attribute | AttributeValue | ProductVariant | Page | ShippingMethod | Voucher | MenuItem | Shop+union TranslatableItem = Product | Category | Collection | Attribute | AttributeValue | ProductVariant | Page | ShippingMethod | Voucher | MenuItemtype TranslatableItemConnection {pageInfo: PageInfo!@@ -2201,7 +2201,6 @@ enum TranslatableKinds {ATTRIBUTE_VALUEVARIANTMENU_ITEM- SHOP}input TranslationInput {diff --git a/saleor/graphql/translations/schema.py b/saleor/graphql/translations/schema.pyindex 20c29183a6..d7c8547d3f 100644--- a/saleor/graphql/translations/schema.py+++ b/saleor/graphql/translations/schema.py@@ -51,6 +51,7 @@ class TranslatableKinds(graphene.Enum):class TranslationQueries(graphene.ObjectType):translations = graphene.ConnectionField(TranslatableItemConnection,+ description='Returns list of all translatable items of a given kind.',kind=graphene.Argument(TranslatableKinds,required=True, description='Kind of objects to retrieve.'))