NotAvailableMessageResolver
Magento\CatalogInventoryGraphQl\Model\Resolver\NotAvailableMessageResolver
What it does
This resolver provides a message to shoppers when requested product quantities are unavailable in their cart via GraphQL.
It checks product availability and returns either a detailed message showing available vs.
requested quantities or a generic "not enough items" message based on store configuration.
Developers use this when implementing GraphQL cart functionality that needs to inform customers about stock limitations.
Public Methods
- resolve()