Log in
Model

RoutableInterfaceTypeResolver

Magento\UrlRewriteGraphQl\Model\RoutableInterfaceTypeResolver

What it does

This class resolves GraphQL types for URL rewrite entities in Magento's GraphQL API.

It determines which specific GraphQL type (like CmsPage, Product, Category) a routable URL should return by delegating to registered type resolvers, falling back to a default 'RoutableUrl' type if no specific resolver matches.

Developers use this when extending GraphQL to support custom routable entity types through the URL resolver query.

Public Methods

  • resolveType()