Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix description to be more meaningful
Adam Janik1df4270002e2
diff --git a/saleor/graphql/product/types.py b/saleor/graphql/product/types.pyindex 0f7827c504..1b2305adc6 100644--- a/saleor/graphql/product/types.py+++ b/saleor/graphql/product/types.py@@ -34,8 +34,9 @@ def resolve_attribute_list(attributes):class ProductAttributeValue(CountableDjangoObjectType):- name = graphene.String(description='Attribute value\'s name.')- slug = graphene.String(description='Slugified name.')+ name = graphene.String(description='Visible name for display purposes.')+ slug = graphene.String(+ description='Internal representation of an attribute name.')class Meta:description = 'Represents a value of an attribute.'@@ -45,8 +46,9 @@ class ProductAttributeValue(CountableDjangoObjectType):class ProductAttribute(CountableDjangoObjectType):- name = graphene.String(description='Attribute\'s name.')- slug = graphene.String(description='Slugified name.')+ name = graphene.String(description='Visible name for display purposes.')+ slug = graphene.String(+ description='Internal representation of an attribute name.')values = graphene.List(ProductAttributeValue, description='List of attribute\'s values.')