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

Add support for custom selection of validators. #34

Merged
merged 8 commits into from
Dec 13, 2016

Conversation

rwe
Copy link
Contributor

@rwe rwe commented Dec 10, 2016

This adds support for configurable selection of GraphQL validators.

The addition is fully backwards-compatible for configurations that specified a value for env.

For configurations that did not set env, all validators are now enabled by default. This is a slight change because KnownFragmentNames and NoUnusedFragments had been disabled entirely for reasons that appear specific to Lokka.

Resolves #10

@stubailo
Copy link
Contributor

Looks great, thank you!

If you have time can you see if updating to the newest graphql fixes the bug you found with known directives?

@stubailo stubailo merged commit 7fad1bb into apollographql:master Dec 13, 2016
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