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.
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: nullorfirst: -1and 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
firstargument nullable, thus dropping all limit clauses for a field.