Skip to content

Make QuerySizeValidator's combined-limit case reachable; add docs - #879

Open
rpiotrow wants to merge 1 commit into
mainfrom
topic/query-size-validator-docs
Open

Make QuerySizeValidator's combined-limit case reachable; add docs#879
rpiotrow wants to merge 1 commit into
mainfrom
topic/query-size-validator-docs

Conversation

@rpiotrow

Copy link
Copy Markdown
Contributor

The depth && width case was ordered after the individual limit cases, so "Query is too complex" could never be reported. Reorder the cases, cover all three failure branches with tests, add Scaladoc, and add a "Compiler Phases" tutorial page showing how to enable the validator via compilerPhases.

The depth && width case was ordered after the individual limit cases,
so "Query is too complex" could never be reported. Reorder the cases,
cover all three failure branches with tests, add Scaladoc, and add a
"Compiler Phases" tutorial page showing how to enable the validator
via compilerPhases.

@milessabin milessabin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, but could you fix the header/fmt issues. Thanks!

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.

2 participants