Trait tsukuyomi_juniper::Schema
source · pub trait Schema {
type Query: GraphQLType<Context = Self::Context, TypeInfo = Self::QueryInfo>;
type QueryInfo;
type Mutation: GraphQLType<Context = Self::Context, TypeInfo = Self::MutationInfo>;
type MutationInfo;
type Context;
fn as_root_node(&self) -> &RootNode<'static, Self::Query, Self::Mutation>;
}
Expand description
A marker trait representing a root node of GraphQL schema.