CatalogGraphQl Module
AggregationOptionTypeResolver
This class determines the GraphQL type for aggregation options used in product filtering and layered navigation. It validates that the data contains e...
AggregationOptionTypeResolverComposite
This composite resolver determines the GraphQL type for product aggregation options (like layered navigation filters) by delegating to multiple type r...
AttributesJoiner
This class analyzes GraphQL queries to determine which product attributes are requested and automatically joins them to EAV collections. Developers us...
CatalogProductTypeResolver
This class determines the GraphQL type for catalog products based on their type_id. It's used by Magento's GraphQL API to return the correct product t...
CategoryInterfaceTypeResolver
This class resolves the GraphQL type for category entities in the GraphQL schema. When a GraphQL query requests category data through an interface, th...
CategoryTypeResolver
This class determines the GraphQL type for category entities in the GraphQL API. It checks if an item is a category by examining the type_id field and...
Category\CategoryFilter
This class filters and retrieves categories in Magento 2 GraphQL queries. Developers use it to search for categories based on criteria like filters, p...
Category\CategoryFilterAttributesForAst
This class retrieves and maps filterable attributes for GraphQL category queries in Magento 2. It converts GraphQL field names to their corresponding...
Category\CategoryUidsArgsProcessor
This class processes GraphQL query arguments for category filtering, specifically handling the conversion between category UIDs (encoded identifiers)...
Category\DepthCalculator
This class calculates the depth of category tree queries in GraphQL requests. Developers use it to determine how many levels deep a category tree quer...
Category\Filter\SearchCriteria
This class builds search criteria for filtering categories in GraphQL queries. Developers use it when implementing category list queries to convert Gr...
Category\Hydrator
This class converts Magento Category model objects into flat array structures suitable for GraphQL API responses. Developers use this when building Gr...
Category\LevelCalculator
This class calculates the hierarchy level of a category in Magento's category tree for GraphQL requests. Developers use it when building GraphQL resol...
Category\ParentCategoryUidsArgsProcessor
This class processes GraphQL query arguments for category filtering by parent category, converting parent_category_uid values to parent_id format. It...
Config\AttributeReader
This class dynamically adds EAV product attributes as fields to GraphQL product types in Magento 2. Developers use this to expose custom and system pr...
Config\CategoryAttributeReader
This class dynamically reads all EAV category attributes from the database and adds them to the GraphQL schema configuration for CategoryInterface and...
Config\FilterAttributeReader
This class dynamically reads and configures which product attributes are available for filtering in GraphQL queries. It determines filter types (equal...
Config\SortAttributeReader
This class reads product attributes that are marked as sortable and adds them as sorting options to the GraphQL schema. Developers would use this when...
CustomizableOptionTypeResolver
This class resolves GraphQL types for product customizable options by mapping option types (like text, select, date) to their corresponding GraphQL sc...
LayerFilterItemTypeResolver
This class determines the GraphQL type for layered navigation filter items in product listing pages. It validates that filter item data contains the r...
LayerFilterItemTypeResolverComposite
This composite resolver determines the GraphQL type for layered navigation filter items in product listings. Developers use this when extending Magent...
Layer\CollectionProvider
This class provides product collections specifically for GraphQL layered navigation queries in Magento 2. Developers would use this class when impleme...
Layer\Context
This class serves as a context container for GraphQL layered navigation in Magento 2. It provides access to three key components needed for filtering...
MediaGalleryTypeResolver
This class determines the specific GraphQL type for media gallery items returned in product queries. When a GraphQL query requests product media galle...
Model\Resolver\Layer\FilterableAttributesListFactory
This factory creates the appropriate filterable attribute list implementation based on the layer type (category or search). Developers use this in Gra...
Model\Resolver\Products\SearchResultFactory
This factory class creates SearchResult objects for GraphQL product search queries in Magento 2. Developers use this when implementing GraphQL resolve...
Output\AttributeMetadata
This class formats catalog attribute metadata for GraphQL API responses. It converts EAV attribute properties into a structured array containing flags...
PriceRangeDataProvider
This class prepares price range data for GraphQL product queries in Magento 2. Developers use this to retrieve minimum and maximum product prices with...
ProductDataProvider
This class provides product data retrieval functionality for GraphQL queries in Magento 2. Developers use it to fetch product information by ID, conve...
ProductInterfaceTypeResolverComposite
This class resolves the concrete GraphQL product type (e.g., SimpleProduct, ConfigurableProduct) from generic product data in GraphQL queries. Develop...
ProductLinkTypeResolverComposite
This composite class determines the GraphQL type for product link relationships (related, upsell, crosssell) in the catalog. Developers use this when...
ProductLinksTypeResolver
This class resolves the GraphQL type for product links (related, upsell, and crosssell products) in Magento's GraphQL API. It determines whether a giv...
Product\Option\DateType
This class handles date-type product options specifically for GraphQL API requests in Magento 2. It formats and validates date values submitted throug...
QueryProcessor
This class prepares and configures search query objects for GraphQL catalog searches in Magento 2. It takes raw search text input, validates and trunc...
Resolver\Aggregations
This resolver processes layered navigation aggregations (filters) for GraphQL product queries in Magento 2. Developers use this class when implementin...
Resolver\Categories
This GraphQL resolver retrieves all categories assigned to a product when querying product data through the GraphQL API. Developers use this class whe...
Resolver\CategoriesQuery
This class resolves GraphQL queries for fetching category data in Magento 2. Developers use this resolver to handle the 'categories' GraphQL query, wh...
Resolver\CategoryList
This resolver handles GraphQL queries for retrieving category lists in Magento 2. Developers use this when implementing or customizing the categoryLis...
Resolver\CategoryTree
This resolver handles GraphQL queries for fetching category tree data in Magento 2. Developers use this when implementing or customizing GraphQL endpo...
Resolver\Category\Breadcrumbs
This GraphQL resolver retrieves breadcrumb navigation data for category pages. Developers use this class when building GraphQL queries that need to di...
Resolver\Category\CanonicalUrl
This resolver returns the canonical URL for a category in GraphQL queries. Developers use this when building headless Magento 2 storefronts that need...
Resolver\Category\CategoriesIdentity
This class generates cache identity tags for GraphQL category queries to manage cache invalidation. When categories are fetched through GraphQL, it cr...
Resolver\Category\CategoryHtmlAttribute
This resolver processes HTML attributes for category fields in GraphQL queries, ensuring proper rendering and sanitization of HTML content. Developers...
Resolver\Category\CategoryTreeIdentity
This class provides cache identity tags for GraphQL category tree queries. When a category is queried via GraphQL, this class generates cache tags (bo...
Resolver\Category\CheckCategoryIsActive
This class validates whether a category exists and is active in Magento 2's GraphQL API. Developers use this to ensure GraphQL queries only return act...
Resolver\Category\Image
This resolver handles GraphQL queries for category images by converting relative image paths into fully qualified URLs. It validates image existence,...
Resolver\Category\Products
This resolver handles GraphQL queries for retrieving products assigned to a specific category. Developers use this class when building category pages...
Resolver\Category\ProductsCount
This resolver retrieves the count of visible products within a specific category for GraphQL queries. It applies visibility filters to ensure only pro...
Resolver\Category\SortFields
This resolver provides sort field options and the default sort order for product listings in a category through GraphQL. Developers use this when buil...
Resolver\LayerFilters
This resolver processes GraphQL requests for layered navigation filters in catalog searches and category pages. Developers use this class to provide f...
Resolver\Layer\FiltersProvider
This class provides filterable attributes (like color, size, price) for GraphQL product queries in Magento 2. Developers use this when building GraphQ...
Resolver\Product
This class resolves individual product data for GraphQL queries in Magento 2. It fetches product information by SKU, including custom attributes and E...
Resolver\Product\BatchProductLinks
This resolver handles batch retrieval and formatting of product links (related, upsell, cross-sell products) for GraphQL queries. It converts product...
Resolver\Product\CanonicalUrl
This GraphQL resolver retrieves the canonical URL for a product in Magento 2's GraphQL API. Developers use this when building headless storefronts or...
Resolver\Product\CustomizableDateTypeOptionValue
This resolver formats customizable date option types for GraphQL responses in Magento 2. It converts the date type value (like 'date', 'datetime', or...
Resolver\Product\CustomizableEnteredOptionValueUid
This resolver generates a unique identifier (UID) for customizable entered product options in GraphQL responses. It creates a base64-encoded string in...
Resolver\Product\CustomizableSelectedOptionValueUid
This resolver generates a unique identifier (UID) for customizable product options with selectable values in GraphQL responses. It creates a base64-en...
Resolver\Product\EntityIdToId
This GraphQL resolver converts a product's entity ID to its identifier for GraphQL responses. Developers would use this when building GraphQL queries...
Resolver\Product\EntityIdToUid
This resolver converts a product's internal entity ID to a base64-encoded UID for GraphQL responses. Developers use this class to provide obfuscated,...
Resolver\Product\Identity
This class generates cache tags for GraphQL product queries by collecting product and category IDs from resolved data. Developers use this to ensure t...
Resolver\Product\MediaGallery
This GraphQL resolver formats a product's media gallery data (images and videos) into a structure compatible with GraphQL API responses. Developers us...
Resolver\Product\MediaGalleryEntries
This GraphQL resolver transforms a product's media gallery entries into a format compatible with GraphQL responses. Developers use this when querying...
Resolver\Product\NewFromTo
This GraphQL resolver handles the transition from legacy product attribute names (news_from_date, news_to_date) to new field names (new_from_date, new...
Resolver\Product\Options
This resolver transforms Magento 2 product custom options data into a GraphQL-compatible format. Developers would use this class when querying product...
Resolver\Product\Price
This GraphQL resolver formats product pricing data for GraphQL API responses, including minimal, regular, and maximal prices with their adjustments. D...
Resolver\Product\PriceRange
This GraphQL resolver formats and returns product pricing information for the price_range field in GraphQL queries. Developers use this class when the...
Resolver\Product\ProductCategories
This class retrieves all category IDs where a product is visible for a specific store. Developers use it to get category associations for products in...
Resolver\Product\ProductComplexTextAttribute
This resolver processes product attributes that contain HTML content (like descriptions) in GraphQL queries, rendering them through Magento's output h...
Resolver\Product\ProductCustomAttributes
This resolver retrieves and formats custom product attributes for GraphQL queries in Magento 2. It filters requested attributes based on provided crit...
Resolver\Product\ProductFieldsSelector
This class extracts and returns the list of product field names requested in a GraphQL query. Developers use it to determine which product attributes...
Resolver\Product\ProductImage
This GraphQL resolver retrieves product image data (URL, label, type) for product queries in Magento's GraphQL API. Developers use this class when ext...
Resolver\Product\ProductLinks
This resolver provides product links (related, upsell, and crosssell products) for GraphQL queries in Magento 2. Developers use this class when fetchi...
Resolver\Product\ProductName
This GraphQL resolver handles the retrieval and formatting of product names in GraphQL queries. It escapes the product name for URL safety while prese...
Resolver\Product\SpecialPrice
This GraphQL resolver retrieves a product's special price for API responses. Developers use this class to expose special pricing information through M...
Resolver\Product\Websites
This resolver retrieves website information for products in Magento's GraphQL API. Developers use this class when they need to fetch which websites a...
Resolver\Products
This class is the GraphQL resolver for product queries in Magento 2. Developers use this when customers search or filter products through the GraphQL...
Resolver\Products\SearchResult
This class serves as a Data Transfer Object (DTO) that encapsulates product search results for GraphQL queries in Magento 2. Developers use it to acce...
Resolver\RootCategoryId
This GraphQL resolver returns the root category ID for the current store context. Developers use this class to retrieve the starting point of a store'...
Resolver\RootCategoryUid
This GraphQL resolver provides the root category UID for a store in Magento 2 GraphQL queries. It retrieves the store's root category ID from the cont...