Log in
Model

EntityIdToUid

Magento\CatalogGraphQl\Model\Resolver\Product\EntityIdToUid

What it does

This resolver converts a product's internal entity ID to a base64-encoded UID for GraphQL responses.

Developers use this class to provide obfuscated, globally unique identifiers in the product GraphQL interface, hiding internal database IDs from external API consumers and ensuring consistent identification across different product entity types.

Public Methods

  • resolve()