[−][src]Derive Macro async_graphql::GQLInputObject
#[derive(GQLInputObject)]
{
// Attributes available to this derive:
#[field]
#[graphql]
}Derive a GraphQL input object
Examples
use async_graphql::*; #[derive(GQLInputObject)] #[graphql(name = "MyInput1")] struct MyInput { value: i32, }