Model
MaxSaleQtyResolver
Magento\CatalogInventoryGraphQl\Model\Resolver\MaxSaleQtyResolver
What it does
This GraphQL resolver retrieves the maximum sale quantity allowed for a product in Magento's inventory system.
Developers use this class when they need to expose product stock limitations through GraphQL queries, allowing frontend applications to display or enforce maximum purchase quantities for products.
Public Methods
- resolve()