Trait juniper::marker::GraphQLObjectType
source · [−]pub trait GraphQLObjectType<S: ScalarValue>: GraphQLType<S> {
fn mark() { ... }
}
Expand description
Maker object for GraphQL objects.
This trait extends the GraphQLType and is only used to mark object. During compile this addition information is required to prevent unwanted structure compiling. If an object requires this trait instead of the GraphQLType, then it explicitly requires an GraphQL objects. Other types (scalars, enums, and input objects) are not allowed.