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

Make graphqlValidateQueries setting more configurable #17

Open
muuki88 opened this issue Feb 21, 2018 · 0 comments
Open

Make graphqlValidateQueries setting more configurable #17

muuki88 opened this issue Feb 21, 2018 · 0 comments

Comments

@muuki88
Copy link
Owner

muuki88 commented Feb 21, 2018

The graphqlValidateQueries should work like the graphqlCodegenQueries in the CodegenPlugin and use the include and exclude filter settings.

    resourceDirectories in graphqlValidateQueries := (resourceDirectories in Compile).value,
    includeFilter in graphqlCodegen := "*.graphql",
    excludeFilter in graphqlCodegen := HiddenFileFilter,
    graphqlCodegenQueries := Defaults
      .collectFiles(resourceDirectories in graphqlValidateQueries,
                    includeFilter in graphqlValidateQueries,
                    excludeFilter in graphqlValidateQueries)
      .value
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

No branches or pull requests

1 participant