ProductUrlSuffix
Magento\CatalogUrlRewriteGraphQl\Model\Resolver\ProductUrlSuffix
What it does
This class resolves the URL suffix configuration for product URLs in GraphQL queries (e.g., '.html').
Developers use this when building GraphQL queries that need to construct or display complete product URLs with the correct suffix based on store configuration.
It retrieves the suffix from the 'catalog/seo/product_url_suffix' configuration and caches it per store to optimize performance.
Public Methods
- resolve()
- _resetState()