Skip to content

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

Improve description of SelectedAttribute type (#18083)

Maciej Korycinskia2c2b4913608
diff --git a/saleor/graphql/attribute/types.py b/saleor/graphql/attribute/types.py
index d5ef0b7272..8f4c6599c3 100644
--- a/saleor/graphql/attribute/types.py
+++ b/saleor/graphql/attribute/types.py
@@ -44,9 +44,7 @@ from ..page.dataloaders import PageByIdLoader
from ..product.dataloaders.products import ProductByIdLoader, ProductVariantByIdLoader
from ..translations.fields import TranslationField
from ..translations.types import AttributeTranslation, AttributeValueTranslation
-from .dataloaders import (
- AttributesByAttributeId,
-)
+from .dataloaders import AttributesByAttributeId
from .descriptions import AttributeDescriptions, AttributeValueDescriptions
from .enums import AttributeEntityTypeEnum, AttributeInputTypeEnum, AttributeTypeEnum
from .filters import (
@@ -511,7 +509,7 @@ class SelectedAttribute(ChannelContextTypeForObjectType):
class Meta:
doc_category = DOC_CATEGORY_ATTRIBUTES
- description = "Represents a custom attribute."
+ description = "Represents an assigned attribute to an object."
class AttributeInput(BaseInputObjectType):
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index 900c2b3a6e..ac891ff3b0 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -7626,7 +7626,7 @@ input MetadataInput {
value: String!
}
-"""Represents a custom attribute."""
+"""Represents an assigned attribute to an object."""
type SelectedAttribute @doc(category: "Attributes") {
"""Name of an attribute displayed in the interface."""
attribute: Attribute!