Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add info about required updates in AttributeEntityType
IKarbowiak1aa121daa3c9
diff --git a/saleor/attribute/__init__.py b/saleor/attribute/__init__.pyindex 6a6783030c..616582e2c6 100644--- a/saleor/attribute/__init__.py+++ b/saleor/attribute/__init__.py@@ -24,7 +24,12 @@ class AttributeType:class AttributeEntityType:- """Type of a reference entity type. Must match the name of the graphql type."""+ """Type of a reference entity type. Must match the name of the graphql type.++ After adding new value, `REFERENCE_VALUE_NAME_MAPPING`+ and `ENTITY_TYPE_TO_MODEL_MAPPING` in saleor/graphql/attribute/utils.py+ must be updated.+ """PAGE = "Page"PRODUCT = "Product"