Enforce limit in all GraphQL collection resolvers #4585
Labels
api
Issues that require some work on the API (https://github.com/opencollective/opencollective-api)
complexity → simple
performance
Load times, slow queries, overall execution speed
technical-debt
Deprecated code to migrate and other necessary refactors
Whenever we return a
Collection
in GraphQL V2,limit
should be aGraphQLNonNull
field with a reasonable default value.In some places, we may also want to reject queries where
limit
is set to a value that is too high.The text was updated successfully, but these errors were encountered: