Model
ValidateProductCartResolver
Magento\QuoteGraphQl\Model\Cart\ValidateProductCartResolver
What it does
This class validates input parameters for GraphQL cart operations, specifically ensuring that required fields like cartId and cartItems are present and properly formatted.
Developers use this validator before processing cart-related GraphQL mutations to ensure data integrity and provide clear error messages when required parameters are missing.
Public Methods
- execute()