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

ASTValidation covers all validation rules that do not use Schema #1568

Merged
merged 1 commit into from Dec 1, 2018

Conversation

mjmahone
Copy link
Contributor

@mjmahone mjmahone commented Nov 6, 2018

There are at least two different classes of validation rules:

  • Validation that requires Schema information (e.g. KnownTypeNames)
  • Validation that does not require any Schema information (e.g. `NoFragmentCycles)

This makes sure NoFragmentCycles and NoUnusedFragments can use the ASTValidation, as neither of these rules need schema information.

Copy link
Member

@IvanGoncharov IvanGoncharov left a comment

Choose a reason for hiding this comment

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

@mjmahone Sorry, completely forget about this PR.
Great improvement 👍

@mjmahone mjmahone merged commit 93efa96 into master Dec 1, 2018
@IvanGoncharov IvanGoncharov deleted the more-ast-visitor branch January 2, 2019 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants