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

chore: adds graphql linter #677

Merged

Conversation

EverlastingBugstopper
Copy link
Contributor

I made a few mistakes during my refactor that were not caught by Rust's graphql-client. I didn't quite trust myself to find all of the mistakes I made since I was just sorta running into them at runtime (scary!), so I set up a proper GraphQL linter and added it to our cargo xtask lint job. This helped me find all of the errors that I made and allowed me to fix them and have confidence that any future changes will be caught by this extra bit of process.

I considered adding this to the build.rs in rover-client, but the scaffolding I have in xtask just makes it so much easier.

@EverlastingBugstopper EverlastingBugstopper added this to the July 20 milestone Jul 15, 2021
@EverlastingBugstopper EverlastingBugstopper merged commit 3988a5b into avery/refactor-subgraph-check Jul 19, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/add-graphql-linter branch July 19, 2021 16:12
EverlastingBugstopper added a commit that referenced this pull request Jul 26, 2021
* chore: refactor subgraph check

This commit does a lot of heavy lifting for the pending rebase.

1) Creates new input and output types in rover-client for subgraph check
2) Moves GitContext out of rover::utils to rover-client::utils
3) Creates error code E029 for composition errors
4) Styles cloud-composition errors like harmonizer

* chore: refactor subgraph fetch (#575)

* chore: refactor subgraph publish (#630)

* chore: refactor config whoami (#633)

* chore: refactor subgraph delete (#639)

* chore: refactor subgraph list (#640)

* chore: refactor subgraph introspect (#641)

* chore: refactor graph introspect (#643)

* chore: refactor release update checker (#646)

* chore: begin adding shared types and consolidate check operations (#652)

* chore: move GraphRef to rover-client (#664)

* chore: refactor the rest of rover-client (#675)

* chore: do not re-export queries

* chore: finish wiring OperationCheck error

* chore: adds graphql linter (#677)

* fix: graph_ref -> graphref

* feat: structured output (#676)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant