Log in
Model

ProductCustomAttributes

Magento\CatalogGraphQl\Model\Resolver\Product\ProductCustomAttributes

What it does

This resolver retrieves and formats custom product attributes for GraphQL queries in Magento 2.

It filters requested attributes based on provided criteria, fetches their values from the product data, and transforms them into the GraphQL schema format.

Developers use this when building GraphQL queries that need to access custom product attributes beyond the standard product fields.

Public Methods

  • resolve()