Skip to content

Support pagination with after and before both specified #13

@wilsonianb

Description

@wilsonianb

The relay pagination spec supports both after and before being specified together:
https://relay.dev/graphql/connections.htm#sec-Pagination-algorithm

Rafiki currently ignores before if after is specified
https://github.com/interledger/rafiki/blob/3d30ce755b4218a777ec77f408be5d15dfa0e687/packages/backend/src/shared/baseModel.ts#L64-L74

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions