Log in
Model

CustomAttributeMetadataV2Identity

Magento\EavGraphQl\Model\Resolver\Cache\CustomAttributeMetadataV2Identity

What it does

This class generates cache identity tags for GraphQL custom attribute metadata queries in Magento 2.

It implements cache invalidation by creating unique cache tags for each EAV attribute, ensuring that when an attribute is updated, the corresponding GraphQL query results are automatically invalidated and refreshed.

Developers use this to maintain cache consistency between EAV attributes and their GraphQL API representations.

Public Methods

  • getIdentities()