Skip to content

Question: backwards paging #643

Closed
Closed
@bart-degreed

Description

@bart-degreed

Description

Recently IPageService.Backwards was introduced. As I'm implementing my own paging (via Elasticsearch), I wonder what this is intended for and how it can be used.

It would allow for a URL like /api/users?page[number]=-5, but what does that mean? My first thought was to interpret it as "5 pages back from the current position". But the absolute page offset is 1, unless specified explicitly in the url, which would defeat the purpose of having a relative offset.
...

Environment

latest master branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions