You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @mandiwise 👋 Thanks for your work put on this one 👍
This ability to check for all graphQl mutations/queries to a defined schema is really nice and could be really helpful for a lot of project. However the fact that this process is 'captive' of a GitHub Action doesn't provide a lot of flexibilities.
My idea would be to extract all the logic of it in a package that:
export the main function to be used for example validateGraphqlOperations(dir, schemaFilePath)
provide a CLI like validate-graphql-operations src schema.graphql
Hey @mandiwise 👋 Thanks for your work put on this one 👍
This ability to check for all graphQl mutations/queries to a defined schema is really nice and could be really helpful for a lot of project. However the fact that this process is 'captive' of a GitHub Action doesn't provide a lot of flexibilities.
My idea would be to extract all the logic of it in a package that:
validateGraphqlOperations(dir, schemaFilePath)
validate-graphql-operations src schema.graphql
The usage would be really similar to graphql-schema-diff for example.
Finally this action will only import the package and consume it with the
@actions/core
API.I can help for the implementation so what do you think of this idea?
The text was updated successfully, but these errors were encountered: