-
Notifications
You must be signed in to change notification settings - Fork 841
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
Feature Request: Need API to limit query complexity / depth #231
Comments
I believe https://www.npmjs.com/package/graphql-cost-analysis is the current JS library de jure. Potentially this doesn't go in the core go library? |
Bump. |
For bigger projects complexity is quiet an important feature. What are the plans to implement it? My feeling is that there is not much new development at all on this library. |
There is already an API to limit the query depth, but no API to limit the query complexity. |
FYI, if need, in JavaScript world, today graphql-query-complexity is better than graphql-cost-analysis now. |
This looks like a port of graphql-cost-analysis into Go: https://github.com/koron-go/gqlcost |
Any news on this? I would be very interesting to have, as mentioned, something like graphql-cost-analysis for JS |
Bumping as this is a needed feature. @sevenzhao wdym there's already a way to limit depth? I'm not sure what are you referring to, mind giving an example? |
As title suggest. Library user would want to have a way to evaluate a graphql query complexity and refuse queries that are too complex.
The text was updated successfully, but these errors were encountered: