BundleProductTypeResolver
Magento\BundleGraphQl\Model\BundleProductTypeResolver
What it does
This class resolves GraphQL type information for Bundle products in Magento 2.
It checks if a product's type_id matches the Bundle product type code and returns 'BundleProduct' as the GraphQL type, enabling proper product data representation in GraphQL API responses.
Developers use this when implementing or extending GraphQL queries that need to identify and handle Bundle products differently from other product types.
Public Methods
- resolveType()