Model
ProductLinks
Magento\CatalogGraphQl\Model\Resolver\Product\ProductLinks
What it does
This resolver provides product links (related, upsell, and crosssell products) for GraphQL queries in Magento 2.
Developers use this class when fetching product relationships through the GraphQL API, ensuring that only valid link types are returned in the proper format expected by the GraphQL schema.
Public Methods
- resolve()