-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat: rover subgraph introspect #377
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
src/command/output.rs
Outdated
@@ -103,7 +103,7 @@ impl RoverStdout { | |||
} | |||
} | |||
RoverStdout::Introspection(introspection_response) => { | |||
eprintln!("Introspection Response:"); | |||
eprintln!("Introspection Response:\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the extra newline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For readability -- I couldn't visually distinguish where introspection response started. Happy to remove tho!
Co-authored-by: Avery Harnish <avery@apollographql.com>
Description
Adds
rover subgraph introspect
command that could be run as is, or with auth headers via the--headers
or-H
flags. It returns sdl.Best way to run this is:
cargo run subgraph introspect http://url-to-graphql-service.com
The who subcommand looks like so:
closes #349