Skip to content

Change how we paginate the query for projects #271

Description

@Asupkay

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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