-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
effort: highIssues which are considered a hard taskIssues which are considered a hard task
Milestone
Description
Add a paginated collection object which can be used by things like the CRUD API or Elasticsearch Search results to wrap content which can be paginated.
You pass it the current page of results, the total, the current page, the base URL etc and it will provide an interface for iterating over that set, as well as provide automatic Next and Previous URLs.
It can handle all the weird edge cases of zero-indexed vs one-indexed paging, out-of-bounds requests, etc
Metadata
Metadata
Assignees
Labels
effort: highIssues which are considered a hard taskIssues which are considered a hard task