magento / architecture

A place where Magento architectural discussions happen
274 stars 154 forks source link

Support pagination in category filtering #357

Closed danielrenaud closed 4 years ago

danielrenaud commented 4 years ago

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