Log in
Model

CustomizableOptionTypeResolver

Magento\CatalogGraphQl\Model\CustomizableOptionTypeResolver

What it does

This class resolves GraphQL types for product customizable options by mapping option types (like text, select, date) to their corresponding GraphQL schema types.

Developers use this when working with product custom options in GraphQL queries, as it determines which GraphQL type should be returned based on the option's type field.

Public Methods

  • resolveType()