Skip to content

Commit

Permalink
Fix: Replace Optional with Option in Sust snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod authored Aug 7, 2024
1 parent 918067f commit 729c4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-tos/rust_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct Person {
id: u32,
first_name: String,
last_name: String,
preferred_name: Optional<String>,
preferred_name: Option<String>,
}
```
We can write a resolver for the `Person`. A resolver function resolvers the values for all the fields a GraphQL object.
Expand Down

0 comments on commit 729c4c5

Please sign in to comment.