-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add lint-graphql job #55
base: main
Are you sure you want to change the base?
Conversation
245e328
to
aa792ef
Compare
aa792ef
to
6bd251a
Compare
6bd251a
to
71358a5
Compare
71358a5
to
f9878d8
Compare
No longer works because the evaluated schema is incomplete (e.g. the |
AFIK, it doesn't seem possible to extract the complete GraphQL schema directly from the subql cli. Then, the safest approach would be to do the following: as part of the CI workflow execution, start two instances of SubQL, one on the main branch and another on the PR branch. Then use the actions/graphql-inspector to perform the diff between the two, resolving their respective GraphQL endpoints. A bit cumbersome, but safer, I guess. FYI @amimart |
d6b456c
to
9280ca2
Compare
c55941b
to
02b1c31
Compare
Addresses issue #6 by integrating the actions/graphql-inspector GitHub action into the CI.
To be tested in more depth with future PRs that amend the schema.