docs(default_value): fix macro syntax error

This commit is contained in:
ecklf 2021-10-06 18:24:46 +02:00
parent 6da4cda153
commit aba3c4031d
No known key found for this signature in database
GPG Key ID: 0BD9069A27E4E5F3
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ enum MyInterface {
```rust
use async_graphql::*;
#derive(InputObject)
#[derive(InputObject)]
struct MyInputObject {
#[graphql(default)]
value1: i32,

View File

@ -47,7 +47,7 @@ enum MyInterface {
```rust
use async_graphql::*;
#derive(InputObject)
#[derive(InputObject)]
struct MyInputObject {
#[graphql(default)]
value1: i32,