-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Description of your question
I am looking for a way to run gql lint ... against schema files distributed in my project, preferably without having to run the command for each file.
This is the same behavior achieved in node projects using graphql-schema-linter **/*.graphql --rules ...
I have tried different iterations of gql lint -f **/*.graphql -r ...
The command will only run successfully against the first schema file it finds.
Side note, when using gql lint -f **/*.graphql -r ... from a Makefile or Jenkinsfile, it only finds files in a single level of directory nesting.
To Reproduce
Create a project with .graphql files nested at different levels.
run go install github.com/CrowdStrike/gql
run gql lint -f **/*.graphql -r ...
Output shows only 1 file has been linted.
Expected behavior
Linting output for each .graphql file in the project.
Environment (please complete the following information):
- OS: MacOS Monterey 12.2
- golang: 1.18
- gql: 0.2.0
Additional context
Add any other context about the problem here.