Log in
Model

CategoryList

Magento\CatalogGraphQl\Model\Resolver\CategoryList

What it does

This resolver handles GraphQL queries for retrieving category lists in Magento 2.

Developers use this when implementing or customizing the categoryList GraphQL query, which allows fetching multiple categories with filtering, pagination, and hierarchical tree structure.

It processes filter arguments, retrieves matching categories, and returns them in a structured format suitable for GraphQL responses.

Public Methods

  • resolve()