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

Other commands for Github actions #267

Open
steebchen opened this issue May 11, 2019 · 2 comments
Open

Other commands for Github actions #267

steebchen opened this issue May 11, 2019 · 2 comments
Labels
🚀 enhancement New feature or request
Milestone

Comments

@steebchen
Copy link

Right now it's possible to validate schema changes with Github actions by defining it in .github/graphql-inspector.yml and graphql-inspector automatically annotates the code (which is insanely cool). However, other commands, such as graphql-inspector validate for the are only supported in the CLI and not in the GH actions cli. It would be awesome if the validate command would be support there to allow seamless validation with graphql queries in frontend projects.

@kamilkisiela kamilkisiela added the 🚀 enhancement New feature or request label May 15, 2019
@kamilkisiela
Copy link
Owner

I guess for now you can use CLI and thanks to #366 it's possible to load schema.graphql via git.

@steebchen
Copy link
Author

steebchen commented Jun 24, 2019

Nice! Any chance there will be support for globs to the following?

graphql-inspector diff "git:origin/master:**/*.graphql" "**/*.graphql"

It seems the git: syntax does not yet support globbing while the normal syntax "**/*.graphql" does, I get the following errr: Syntax Error: Unexpected <EOF>.

Also I think there's missing something so I left a review: #366 (comment)

@kamilkisiela kamilkisiela added this to the v2.0.0 milestone Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants