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

Added function to retrieve the query complexity #531

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

g4ther
Copy link

@g4ther g4ther commented Aug 8, 2019

This adds a function to retrieve the query complexity once the query has been completed. I'll be using it for logging and to calculate rate limiting.

There aren't any breaking changes as it just adds a public method and adds tracking of the complexity.

It should fix #316 (with regards to query complexity, not query depth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SUGGESTION] QueryComplexity: allow calculating/retrieving of "complexity", not just report violations
2 participants