Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate query complexity #11

Open
2 tasks
nickoferrall opened this issue May 11, 2022 · 0 comments
Open
2 tasks

Calculate query complexity #11

nickoferrall opened this issue May 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nickoferrall
Copy link

When using nest-graphql-endpoint with GitLab, we ran into a bug where too many queries would be batched together. The batched query would be rejected by GitLab as it exceeded the query complexity limit.

To fix, Matt created a PR (#10), enabling us to pass in dataloader options such as a max batch limit.

Currently, we're passing in a max batch limit of 5 (ParabolInc/parabol#6541), but in an ideal world, nest-graphql-endpoint would calculate the complexity and batch appropriately.

AC

@nickoferrall nickoferrall added the enhancement New feature or request label May 11, 2022
@nickoferrall nickoferrall self-assigned this May 11, 2022
@nickoferrall nickoferrall moved this to To Prioritize in Sprint Board Beta May 11, 2022
@jordanh jordanh moved this from To Prioritize to Backlog in Sprint Board Beta May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant