Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve description of SelectedAttribute type (#18083)
Maciej Korycinskia2c2b4913608
diff --git a/saleor/graphql/attribute/types.py b/saleor/graphql/attribute/types.pyindex d5ef0b7272..8f4c6599c3 100644--- a/saleor/graphql/attribute/types.py+++ b/saleor/graphql/attribute/types.py@@ -44,9 +44,7 @@ from ..page.dataloaders import PageByIdLoaderfrom ..product.dataloaders.products import ProductByIdLoader, ProductVariantByIdLoaderfrom ..translations.fields import TranslationFieldfrom ..translations.types import AttributeTranslation, AttributeValueTranslation-from .dataloaders import (- AttributesByAttributeId,-)+from .dataloaders import AttributesByAttributeIdfrom .descriptions import AttributeDescriptions, AttributeValueDescriptionsfrom .enums import AttributeEntityTypeEnum, AttributeInputTypeEnum, AttributeTypeEnumfrom .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.graphqlindex 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!