Update docs for InputObject macro.

This commit is contained in:
Sunli 2020-09-03 20:20:33 +08:00
parent 4081643f91
commit d393ed260d
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ default = ["bson", "url", "chrono-tz"]
[dependencies]
async-graphql-parser = { path = "async-graphql-parser", version = "1.17.3" }
async-graphql-derive = { path = "async-graphql-derive", version = "1.17.11" }
async-graphql-derive = { path = "async-graphql-derive", version = "1.17.19" }
anyhow = "1.0.26"
thiserror = "1.0.11"
async-trait = "0.1.30"

View File

@ -479,6 +479,7 @@ pub use async_graphql_derive::Enum;
/// | default | Argument default value | literal | Y |
/// | default_with | Expression to generate default value | code string | Y |
/// | validator | Input value validator | [`InputValueValidator`](validators/trait.InputValueValidator.html) | Y |
/// | flatten | Similar to serde (flatten) | boolean | Y |
///
/// # Examples
///