In addition the module, several tools are available.
Included in the package is a
gqlmod tool. This provides static analysis
functionality outside of your software.
Checks graphql files for syntax and schema validty. Unlike importing, all findable errors are reported.
Give the list of files to check, or pass –search to scan the current directory (recursively).
The check function is also available as a GitHub Action (with extra annotation integration).
You do need to use the
actions/checkout action before calling
gqlmod/check-action, and the
GITHUB_TOKEN argument is required.