gardens icon indicating copy to clipboard operation
gardens copied to clipboard

Connector: Handle +1000 stakes for proposal queries

Open fabriziovigevani opened this issue 2 years ago • 2 comments

The graph only lets you to query up to 1000 entities per query, so when querying for a proposal, we need to handle pagination for proposals that have more than 1000 active stakes.

fabriziovigevani avatar Oct 05 '21 23:10 fabriziovigevani

We need to update the connector.

0xGabi avatar Nov 09 '21 16:11 0xGabi

Look at examples on how to implement cursors (for pagination) in subgraph.

Link: https://graphql.org/learn/pagination/#pagination-and-edges

reznord avatar Apr 19 '22 16:04 reznord