You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/CatalogGraphQl/etc/schema.graphqls
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,12 @@ type Query {
13
13
category (
14
14
id: Int@doc(description: "The category ID to use as the root of the search.")
15
15
): CategoryTree
16
-
@resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryTree") @doc(description: "Search for categories that match the criteria specified in the `search` and `filter` attributes.") @deprecated(reason: "Use `categoryList` instead.") @cache(cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoryTreeIdentity")
16
+
@resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryTree") @doc(description: "Search for categories that match the criteria specified in the `search` and `filter` attributes.") @deprecated(reason: "Use `categories` instead.") @cache(cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoryTreeIdentity")
17
17
categoryList(
18
18
filters: CategoryFilterInput@doc(description: "Identifies which Category filter inputs to search for and return.")
19
19
pageSize: Int = 20 @doc(description: "Specifies the maximum number of results to return at once. The default value is 20.")
20
20
currentPage: Int = 1 @doc(description: "Specifies which page of results to return. The default value is 1.")
21
-
): [CategoryTree] @doc(description: "Return an array of categories based on the specified filters.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryList") @cache(cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoriesIdentity")
21
+
): [CategoryTree] @doc(description: "Return an array of categories based on the specified filters.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\CategoryList") @cache(cacheIdentity: "Magento\\CatalogGraphQl\\Model\\Resolver\\Category\\CategoriesIdentity")@deprecated(reason: "Use `categories` instead.")
22
22
categories (
23
23
filters: CategoryFilterInput@doc(description: "Identifies which Category filter inputs to search for and return.")
24
24
pageSize: Int = 20 @doc(description: "Specifies the maximum number of results to return at once. The default value is 20.")
0 commit comments