pub fn new<Query, Mutation, Subscription>(schema: Schema<Query, Mutation, Subscription>) -> Self
    where
        Query: ObjectType + 'static,
        Mutation: ObjectType + 'static,
        Subscription: SubscriptionType + 'static,
    {
        Self::new_with_initializer(schema, |_| {
            futures_util::future::ready(Ok(Default::default()))
        })
    }
/// Create a graphql subscription endpoint.
Create a graphql subscription endpoint.
Create a graphql subscription endpoint .
pub fn new<Query, Mutation, Subscription>(schema: Schema<Query, Mutation, Subscription>) -> Self
    where
        Query: ObjectType + 'static,
        Mutation: ObjectType + 'static,
        Subscription: SubscriptionType + 'static,
    {
        Self::new_with_initializer(schema, |_| {
            futures_util::future::ready(Ok(Default::default()))
        })
    }
pub fn new < Query , Mutation , Subscription > ( schema : Schema < Query , Mutation , Subscription > ) -> Self where Query : ObjectType + ' static , Mutation : ObjectType + ' static , Subscription : SubscriptionType + ' static , { Self :: new_with_initializer ( schema , | _ | { futures_util :: future :: ready ( Ok ( Default :: default ( ) ) ) } ) }
Create a graphql subscription endpoint.
Create a graphql subscription endpoint .
schema
Schema<Query, Mutation, Subscription>
schema
Schema<Query, Mutation, Subscription>