Skip to content

Change how we paginate the query for projects #271

@Asupkay

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions