Merge pull request #844 from kolloch/patch-1

custom_scalars: i64 not encoded as string
This commit is contained in:
Sunli 2022-02-27 09:48:07 +08:00 committed by GitHub
commit 854a1ba2ac
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ In `Async-graphql` most common scalar types are built in, but you can also creat
Using `async-graphql::Scalar`, you can add support for a scalar when you implement it. You only need to implement parsing and output functions.
The following example defines a 64-bit integer scalar where its input and output are strings. (Note: `Async-graphql` already supports 64-bit integers and uses strings as input and output.)
The following example defines a 64-bit integer scalar where its input and output are strings.
```rust
use async_graphql::*;