Model
AttributeReader
Magento\CatalogGraphQl\Model\Config\AttributeReader
What it does
This class dynamically adds EAV product attributes as fields to GraphQL product types in Magento 2.
Developers use this to expose custom and system product attributes through GraphQL queries, controlled by the 'include_dynamic_attributes_as_entity_type_fields' configuration setting.
It reads all product attributes and maps them to appropriate GraphQL types for API consumption.
Public Methods
- read()