Log in
Model

CustomerAttributeMetadata

Magento\CustomerGraphQl\Model\Output\CustomerAttributeMetadata

What it does

This class formats customer and customer address attribute metadata for GraphQL API responses.

It retrieves validation rules, input filters, and visibility settings for attributes, converting them into a structured format suitable for GraphQL queries.

Developers use this when exposing customer attribute metadata through the GraphQL API, such as in customAttributesV2 queries.

Public Methods

  • execute()