Skip to content

Commit a9cf674

Browse files
committed
Fix README.md
1 parent 1836410 commit a9cf674

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ The default is `warn`.
127127
## Query documents with multiple operations
128128

129129
You can write multiple operations in one query document (one `.graphql` file). You can then select one by naming the struct you `#[derive(GraphQLQuery)]` on with the same name as one of the operations. This is neat, as it allows sharing fragments between operations.
130+
130131
If you want to name the struct different from query name, you can use ``selected_operation`` argument like this.
131132

132133
#[derive(GraphQLQuery)]

graphql_client_cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ This is still a WIP, the main use for it now is to download the `schema.json` fr
55
## Install
66

77
```
8-
cargo install graphql-client-cli
8+
cargo install graphql-client-cli --force
99
```
1010

11-
## introsect schema
11+
## introspect schema
1212

1313
```
1414
USAGE:
@@ -58,4 +58,4 @@ ARGS:
5858

5959
If you want to use formatting feature, you should install like this.
6060

61-
`cargo install graphql-client-cli --features rustfmt`
61+
`cargo install graphql-client-cli --features rustfmt --force`

0 commit comments

Comments
 (0)