Log in
Model

Route

Magento\UrlRewriteGraphQl\Model\Resolver\Route

What it does

This GraphQL resolver resolves URL route queries by looking up URL rewrites and returning detailed information about the entity (product, category, CMS page) that the URL points to.

Developers would use this when implementing custom GraphQL queries that need to resolve friendly URLs to their corresponding Magento entities, including redirect codes and entity-specific data.

Public Methods

  • resolve()