Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add description to ProductAttribute

Adam Janika71961743607
diff --git a/saleor/graphql/product/types.py b/saleor/graphql/product/types.py
index 556ca13407..0f7827c504 100644
--- a/saleor/graphql/product/types.py
+++ b/saleor/graphql/product/types.py
@@ -45,6 +45,8 @@ class ProductAttributeValue(CountableDjangoObjectType):
class ProductAttribute(CountableDjangoObjectType):
+ name = graphene.String(description='Attribute\'s name.')
+ slug = graphene.String(description='Slugified name.')
values = graphene.List(
ProductAttributeValue, description='List of attribute\'s values.')