Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
More consistent list's descriptions
Marcin Gębala233c86407cc5
diff --git a/saleor/dashboard/graphql/api.py b/saleor/dashboard/graphql/api.pyindex 5b8d88606f..fd5f6c6119 100644--- a/saleor/dashboard/graphql/api.py+++ b/saleor/dashboard/graphql/api.py@@ -21,7 +21,7 @@ from .product.types import resolve_attributes, resolve_productsclass Query(graphene.ObjectType):attributes = DjangoFilterConnectionField(ProductAttribute, filterset_class=DistinctFilterSet,- description='A list of the shop\'s attributes.')+ description='List of the shop\'s product attributes.')categories = DjangoFilterConnectionField(Category, filterset_class=DistinctFilterSet,level=graphene.Argument(graphene.Int),diff --git a/saleor/graphql/api.py b/saleor/graphql/api.pyindex ee1a6a5199..8d624e6bc7 100644--- a/saleor/graphql/api.py+++ b/saleor/graphql/api.py@@ -17,11 +17,11 @@ class Query(graphene.ObjectType):attributes = DjangoFilterConnectionField(ProductAttribute, filterset_class=DistinctFilterSet,in_category=graphene.Argument(graphene.ID),- description='A list of the shop\'s attributes.')+ description='List of the shop\'s product attributes.')categories = DjangoFilterConnectionField(Category, filterset_class=DistinctFilterSet,level=graphene.Argument(graphene.Int),- description='A list of the shop\'s categories.')+ description='List of the shop\'s categories.')category = graphene.Field(Category, id=graphene.Argument(graphene.ID),description='Lookup a category by ID.')@@ -31,13 +31,13 @@ class Query(graphene.ObjectType):pages = DjangoFilterConnectionField(Page, filterset_class=DistinctFilterSet,level=graphene.Argument(graphene.Int),- description='A list of the shop\'s pages.')+ description='List of the shop\'s pages.')product = graphene.Field(Product, id=graphene.Argument(graphene.ID),description='Lookup a product by ID.')products = DjangoFilterConnectionField(Product, filterset_class=ProductFilterSet,- description='A list of the shop\'s products.')+ description='List of the shop\'s products.')node = graphene.Node.Field()debug = graphene.Field(DjangoDebug, name='__debug')