Log in
Model

ProductLinkTypeResolverComposite

Magento\CatalogGraphQl\Model\ProductLinkTypeResolverComposite

What it does

This composite class determines the GraphQL type for product link relationships (related, upsell, crosssell) in the catalog.

Developers use this when extending GraphQL to support custom product link types by adding type resolvers to the constructor's array, allowing the system to identify which GraphQL type should represent different product link relationships.

Public Methods

  • resolveType()