Log in
Model

EntityIdToId

Magento\CatalogGraphQl\Model\Resolver\Product\EntityIdToId

What it does

This GraphQL resolver converts a product's entity ID to its identifier for GraphQL responses.

Developers would use this when building GraphQL queries that need to return the proper product ID field, though it's deprecated in favor of the UID-based resolver for better compatibility with GraphQL standards.

Public Methods

  • resolve()