Log in
Model

Identity

Magento\CatalogGraphQl\Model\Resolver\Product\Identity

What it does

This class generates cache tags for GraphQL product queries by collecting product and category IDs from resolved data.

Developers use this to ensure that when products or categories change, the related GraphQL query results are automatically invalidated and refreshed in Magento's cache system.

Public Methods

  • getIdentities()