Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change how we paginate the query for projects #271

Open
Asupkay opened this issue May 12, 2022 · 0 comments
Open

Change how we paginate the query for projects #271

Asupkay opened this issue May 12, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Asupkay
Copy link
Contributor

Asupkay commented May 12, 2022

From @ryley-o

I think TheGraph limits skip to a maximum of 5000 items (last I checked).

I know we don't have even close to 5k projects yet, but can we follow the recommended pattern shown in their docs to paginate through projects, along the lines of:

projects(first: 1000, where: { id_gt: $lastID })

ref: https://thegraph.com/docs/en/developer/graphql-api/#pagination

@jakerockland jakerockland added enhancement New feature or request good first issue Good for newcomers labels Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants