pub fn build(
        query: Query,
        mutation: Mutation,
        subscription: Subscription,
    ) -> SchemaBuilder<Query, Mutation, Subscription> {
        SchemaBuilder {
            validation_mode: ValidationMode::Strict,
            query: QueryRoot { inner: query },
            mutation,
            subscription,
            registry: Self::create_registry(),
            data: Default::default(),
            complexity: None,
            depth: None,
            extensions: Default::default(),
        }
    }
/// Create a schema builder
///
/// The root object for the query and Mutation needs to be specified.
/// If there is no mutation, you can use `EmptyMutation`.
/// If there is no subscription, you can use `EmptySubscription`.
Create a schema builder
The root object for the query and Mutation needs to be specified.
If there is no mutation, you can use `EmptyMutation`.
If there is no subscription, you can use `EmptySubscription`.
Create a schema builder The root object for the query and Mutation needs to be specified . If there is no mutation you can use ` EmptyMutation ` . If there is no subscription you can use ` EmptySubscription ` .
pub fn build(
        query: Query,
        mutation: Mutation,
        subscription: Subscription,
    ) -> SchemaBuilder<Query, Mutation, Subscription> {
        SchemaBuilder {
            validation_mode: ValidationMode::Strict,
            query: QueryRoot { inner: query },
            mutation,
            subscription,
            registry: Self::create_registry(),
            data: Default::default(),
            complexity: None,
            depth: None,
            extensions: Default::default(),
        }
    }
pub fn build ( query : Query , mutation : Mutation , subscription : Subscription , ) -> SchemaBuilder < Query , Mutation , Subscription > { SchemaBuilder { validation_mode : ValidationMode :: Strict , query : QueryRoot { inner : query } , mutation , subscription , registry : Self :: create_registry ( ) , data : Default :: default ( ) , complexity : None , depth : None , extensions : Default :: default ( ) , } }
Create a schema builder
The root object for the query and Mutation needs to be specified.
Create a schema builder The root object for the query and Mutation needs to be specified .
query
Query
mutation
Mutation
subscription
Subscription
query
Query
mutation
Mutation
subscription
Subscription