rover supergraph check/publish
#2660
Draft
+1,554
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds two new commands to Rover:
rover supergraph check
to run multi-subgraph Checksrover supergraph publish
to publish multiple subgraphs simultaneouslyIn order to be able to take in the input, this PR opts to use the
supergraph.yaml
format to keep things consistent for end-users.With doing so, we also get the side benefit of having SDL resolution for introspection endpoints or even subgraphs from GraphOS.
Most of the logic for checks was used as-is from the subgraph command, so there's likely some optimization to be made there.
Testing locally this works, but putting in as a draft for now until docs work is done/direction is picked for this per the other PR for this featureset.