Skip to content

Support pagination with unlimited results #2734

@williamjallen

Description

@williamjallen

What problem does this feature proposal attempt to solve?

I currently have a field where pagination is useful in many, but not all, cases. In some cases I'd like to be able to specify first: null or first: -1 and receive all results. My current workaround is to simply provide a large limit (e.g., 1000000), but doing so creates inefficient queries, particularly when accessing nested paginated records.

Which possible solutions should be considered?

It would be great to be able to make the first argument nullable, thus dropping all limit clauses for a field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions