Log in
Model

ProductComplexTextAttribute

Magento\CatalogGraphQl\Model\Resolver\Product\ProductComplexTextAttribute

What it does

This resolver processes product attributes that contain HTML content (like descriptions) in GraphQL queries, rendering them through Magento's output helper to ensure proper HTML filtering and processing.

Developers use this when exposing product attributes with complex text/HTML content via GraphQL API, ensuring the content is properly sanitized and formatted before being returned to the client.

Public Methods

  • resolve()