Model
AggregationOptionTypeResolver
Magento\CatalogGraphQl\Model\AggregationOptionTypeResolver
What it does
This class determines the GraphQL type for aggregation options used in product filtering and layered navigation.
It validates that the data contains exactly three required fields (value, label, and count) and returns 'AggregationOption' as the type name, which is used in GraphQL responses for filter facets like category filters, price ranges, or product attributes.
Public Methods
- resolveType()