gitcoinco / grants-stack-indexer

Grants Stack Indexer
https://grants-stack-indexer-v2.gitcoin.co/graphiql
29 stars 24 forks source link

limit pagination in graphQL #435

Open boudra opened 7 months ago

boudra commented 7 months ago

we have a Postgraphile PRO license, the plugin is installed and it supports limiting pagination (currently not enabled), but doing this change is backwards incompatible as some apps that use the indexer don't use pagination

we need to figure out a way to limit pagination (so that clients can't request all votes for example, and potentially making the web service OOM).

boudra commented 5 months ago

i reverted this as it forces all users to add pagination parameters, i want to investigate if there's a way to cap pagination without forcing the parameter

boudra commented 5 months ago

waiting on postgraphile team