Log in
Model

GetAllowedCustomerAttributes

Magento\CustomerGraphQl\Model\Customer\GetAllowedCustomerAttributes

What it does

This class retrieves customer attributes that are allowed to be displayed on the storefront in GraphQL queries.

Developers use this when implementing custom GraphQL resolvers that need to validate and filter customer attributes based on their visibility settings, ensuring only frontend-visible attributes are exposed through the API.

Public Methods

  • execute()