kamilkisiela / graphql-inspector

🕵️‍♀️ Validate schema, get schema change notifications, validate operations, find breaking changes, look for similar types, schema coverage
https://the-guild.dev/graphql/inspector
MIT License
1.65k stars 185 forks source link

Allow for use of Wildcards when using the Github Action #2619

Open andrewsrichardson opened 1 year ago

andrewsrichardson commented 1 year ago

Is your feature request related to a problem? Please describe.

When trying to use the Github action with a schema which is provided in documents, the GLOB pattern I provide is not recognised as a GLOB, which means I am forced to check-in my codegen'd schema. Checking this in causes more hassle for our team as we like to work in documents.

Describe the solution you'd like

In a similar way to how the CLI works, providing wildcards to the Action's schema path to allow for the use of individual document files would be great.

Describe alternatives you've considered

Using the CLI manually as part of a Github action to fail my workflow if there are any breaking changes.

yshrsmz commented 1 year ago

looks like a duplicate of https://github.com/kamilkisiela/graphql-inspector/issues/1978