Log in
Model

CustomerCompareList

Magento\CompareListGraphQl\Model\Resolver\CustomerCompareList

What it does

This GraphQL resolver retrieves a customer's product comparison list.

Developers would use this class when implementing GraphQL queries that need to fetch and display the items a logged-in customer has added to their compare list.

It fetches the compare list ID for the authenticated customer and returns the associated comparison data.

Public Methods

  • resolve()