lablup / lablup/backend.ai

Limit the page size of GraphQL queries to 50 with the default to 10.

Open
#2,561 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.