Skip to content

Support for page and pageSize in pagination #85

@ErisDS

Description

@ErisDS

The JSONAPI Spec is agnostic about pagination strategies: http://jsonapi.org/format/#fetching-pagination

The default bookshelf plugin supports two strategies: https://github.com/tgriesser/bookshelf/wiki/Plugin:-Pagination

The default uses page and pageSize, although limit and offset can also be used.

It would be great if this library could support both.

Whilst I'm here, I must say that whilst I understand why TypeScript is a good choice for this sort of code, it does create a huge barrier to contributing. I'm testing this library out as a way to get from bookshelf to JSONAPI for a couple of APIs I'm building and I'd love to get stuck in and help but I don't know TypeScript 😞

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