Skip to content

Conversation

BeeHiveJava
Copy link
Contributor

This pull request adds a helper function to calculate query complexity independently from query execution, see #16.

I was unsure if other tests should also use this functionality. Some don't just use the complexity value, but also errors found in ValidationContext after validating, so that would require some modification.

Copy link
Collaborator

@ivome ivome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the pull request. This looks good!
Could you maybe add a small example and documentation to the README so people know this functionality exists?

@BeeHiveJava
Copy link
Contributor Author

Added an example and fixed the test to take a value that actually gets calculated.

@ivome ivome merged commit bdd4b65 into slicknode:master May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants