Log in
Model

AttributeOption

Magento\EavGraphQl\Model\TypeResolver\AttributeOption

What it does

This class resolves the GraphQL type for EAV attribute options in Magento's GraphQL API.

When GraphQL queries request attribute option data, this resolver ensures the data is returned as the 'AttributeOptionMetadata' type.

Developers would use this when extending or customizing how attribute options are represented in GraphQL responses.

Public Methods

  • resolveType()