Skip to content

Commit 1e5ffea

Browse files
committed
update docstring
1 parent 3de510a commit 1e5ffea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

crates/rover-client/src/query/subgraph/fetch.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ use graphql_client::*;
1616
/// Snake case of this name is the mod name. i.e. fetch_subgraph_query
1717
pub struct FetchSubgraphQuery;
1818

19-
/// The main function to be used from this module. This function fetches a
20-
/// schema from apollo studio and returns it in either sdl (default) or json format
19+
/// Fetches a schema from apollo studio and returns its SDL (String)
2120
pub fn run(
2221
variables: fetch_subgraph_query::Variables,
2322
client: &StudioClient,

crates/rover-client/src/query/subgraph/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pub mod push;
55
pub mod delete;
66

77
/// "subgraph fetch" command execution
8-
pub mod fetch;
8+
pub mod fetch;

0 commit comments

Comments
 (0)