docs(default_value): fix macro syntax error

This commit is contained in:
ecklf 2021-10-06 18:24:46 +02:00
parent d8365bb553
commit 586d11cfa1
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,