Skip to content

Incorrect field names in range #20

@duartegarin

Description

@duartegarin

@joaogarin When we added range delimiters, we assumed that start equals offset (correct) and end equals the end of the range, when in fact it is a "limit".

This means that if I want results on page 2 (on a 5 records per page) I should specify "start" as 5 and "end" as 5.

I propose we refactor this to "offset" and "limit" to be consistent with the rest of GraphQL module implementations.

However, this is a breaking change given that all consumers need to update their implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions