Current categoryList query does not support pagination. Furthermore it is not possible to add pagination to this query in a backward compatible way, because the result is an array of categories with no reasonable place to put pagination information.
Solution
Introduce a new category query categories that will allow for filtering as well as pagination. The result object follows the schema of other queries that include filtering/pagination (e.g. products).
Problem
Current
categoryList
query does not support pagination. Furthermore it is not possible to add pagination to this query in a backward compatible way, because the result is an array of categories with no reasonable place to put pagination information.Solution
Introduce a new category query
categories
that will allow for filtering as well as pagination. The result object follows the schema of other queries that include filtering/pagination (e.g.products
).Requested Reviewers
@paliarush @akaplya