Model
ShipmentItem
Magento\SalesGraphQl\Model\TypeResolver\ShipmentItem
What it does
This class resolves the concrete GraphQL type for shipment items based on the product type (simple, configurable, bundle, etc.).
Developers use this when extending the GraphQL schema to support custom product types in shipment queries, ensuring the correct GraphQL type is returned for each product in a shipment.
Public Methods
- resolveType()