Variant
Magento\ConfigurableProductGraphQl\Model\Resolver\Variant\Variant
What it does
This resolver handles GraphQL queries for configurable product variants in Magento 2.
It extracts variant product data from the parent value array and formats it for the GraphQL response, merging the product model's data with the model object itself.
Developers use this when querying variant products through GraphQL to retrieve child product information of configurable products.
Public Methods
- resolve()