diff --git a/docs/how-tos/rust_service.md b/docs/how-tos/rust_service.md index 6d600b4..e5bae01 100644 --- a/docs/how-tos/rust_service.md +++ b/docs/how-tos/rust_service.md @@ -100,7 +100,7 @@ struct Person { id: u32, first_name: String, last_name: String, - preferred_name: Optional, + preferred_name: Option, } ``` We can write a resolver for the `Person`. A resolver function resolvers the values for all the fields a GraphQL object.