QuestionQ41
VerifiedCatalog and ProductsAn external system integrates product-catalog search functionality by using the Adobe Commerce GraphQL API. The Architect creates a new my_attribute attribute in the Admin panel with the select frontend type.
Later, the Architect finds that ProductInterface already includes the my_attribute field, but it returns an Int value. The Architect wants this field to use a new type containing both the option ID and label.
To meet this requirement, an Adobe Commerce Architect creates a new module and an etc/schema.graphqls file that declares the following:

After running the setup:upgrade command, introspection still shows the ProductInterface field my_attribute as Int.
What prevented the value type of the my_attribute field from changing?
Community Discussion