Model
CartAddressTypeResolver
Magento\QuoteGraphQl\Model\Resolver\CartAddressTypeResolver
What it does
This class resolves the GraphQL type for cart addresses, determining whether an address should be returned as a ShippingCartAddress or BillingCartAddress based on the address type.
Developers use this resolver when implementing GraphQL queries that return cart addresses, ensuring the correct GraphQL type is returned for proper schema validation and client-side handling.
Public Methods
- resolveType()