Log in
Model

AttributeMetadata

Magento\EavGraphQl\Model\TypeResolver\AttributeMetadata

What it does

This class resolves GraphQL types for EAV attribute metadata based on entity types.

It maps different entity types (like customer, product, etc.) to their specific GraphQL type implementations, defaulting to 'AttributeMetadata' when no specific type is configured.

Developers use this when extending GraphQL to support custom attribute metadata types for different entities.

Public Methods

  • resolveType()