Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten committed Dec 19, 2024
1 parent 0346a7e commit 31a4d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sui-graphql-client-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ sui-graphql-client-build = { git = "https://github.com/mystenlabs/sui-rust-sdk",
```

4. If using `cynic`, use the cynic generator to generate the Rust types from the GraphQL schema. \
Go to https://generator.cynic-rs.dev/ and paste the URL to the GraphQL service or manually copy paste the schema. \
Then you can select the fields in the query you want to have, and the generator will generate the Rust types for you.
Go to https://generator.cynic-rs.dev/ and paste the URL to the GraphQL service or manually copy paste the schema. \
Then you can select the fields in the query you want to have, and the generator will generate the Rust types for you.

5. In your Rust code, you can now use the custom query types generated by `cynic`.

Expand Down

0 comments on commit 31a4d90

Please sign in to comment.