Log in
Model

GetAttributesMetadata

Magento\EavGraphQl\Model\GetAttributesMetadata

What it does

This class retrieves and formats EAV attribute metadata for GraphQL queries.

Developers use it to fetch details about entity attributes (like product or customer attributes) based on attribute codes and entity types, with validation to handle missing entities or attributes.

It returns structured attribute data along with any errors encountered during retrieval.

Public Methods

  • execute()