Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeDawkins committed Dec 16, 2020
1 parent 3de510a commit 1e5ffea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions crates/rover-client/src/query/subgraph/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ use graphql_client::*;
/// Snake case of this name is the mod name. i.e. fetch_subgraph_query
pub struct FetchSubgraphQuery;

/// The main function to be used from this module. This function fetches a
/// schema from apollo studio and returns it in either sdl (default) or json format
/// Fetches a schema from apollo studio and returns its SDL (String)
pub fn run(
variables: fetch_subgraph_query::Variables,
client: &StudioClient,
Expand Down
2 changes: 1 addition & 1 deletion crates/rover-client/src/query/subgraph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pub mod push;
pub mod delete;

/// "subgraph fetch" command execution
pub mod fetch;
pub mod fetch;

0 comments on commit 1e5ffea

Please sign in to comment.