Log in
Model

CustomizableEnteredOptionValueUid

Magento\CatalogGraphQl\Model\Resolver\Product\CustomizableEnteredOptionValueUid

What it does

This resolver generates a unique identifier (UID) for customizable entered product options in GraphQL responses.

It creates a base64-encoded string in the format 'custom-option/{option_id}' that developers can use to reference specific custom product options when querying or mutating product data through GraphQL.

If a UID already exists in the value array, it returns that instead of generating a new one.

Public Methods

  • resolve()