Limit the page size of GraphQL queries to 50 with the default to 10.
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
There were several mis-use of the paginated GraphQL queries by setting the page size to an unreasonably large number, like 1000.
Let's explicitly forbid such usage by setting the maximum page size to 50 and the default page size to 10 when not specified.
- [ ] Legacy hand-crafted paginated queries
- [ ] Relay node queries
JIRA Issue: BA-102
Contributor guide
Assessment
This issue has not been assessed yet.