Update docs

This commit is contained in:
Sunli 2020-09-28 11:15:37 +08:00
parent bff5e97def
commit ded45bcf6b

View File

@ -597,6 +597,12 @@ pub use async_graphql_derive::Interface;
/// | name | Object name | string | Y |
/// | desc | Object description | string | Y |
///
/// # Item parameters
///
/// | Attribute | description | Type | Optional |
/// |--------------|------------------------------------------|----------|----------|
/// | flatten | Similar to serde (flatten) | boolean | Y |
///
/// # Define a union
///
/// Define TypeA, TypeB, ... as MyUnion