Model
Type
Magento\EavGraphQl\Model\Resolver\Query\Type
What it does
This class translates EAV attribute types into GraphQL-compatible type names for the GraphQL API.
Developers use this when exposing custom EAV attributes through GraphQL to ensure proper type mapping between Magento's attribute system and GraphQL schema definitions.
It handles type normalization, converting PHP/Magento types like 'double' to GraphQL types like 'float'.
Public Methods
- getType()