GiftMessage
Magento\GiftMessageGraphQl\Model\Resolver\Product\GiftMessage
What it does
This resolver determines whether gift messages are available for a product in GraphQL queries.
It checks product type (excluding virtual and downloadable products) and store-level gift message configuration to return a boolean indicating if gift messages can be added to the product.
Developers use this when implementing GraphQL queries that need to display gift message options on product pages.
Public Methods
- resolve()