pub(crate) fn new(
        logger: &Logger,
        schema: Arc<Schema>,
        stream: WebSocketStream<S>,
        graphql_runner: Arc<Q>,
    ) -> Self {
        GraphQlConnection {
            id: Uuid::new_v4().to_string(),
            logger: logger.new(o!("component" => "GraphQlConnection")),
            graphql_runner,
            stream,
            schema,
        }
    }
/// Creates a new GraphQL subscription service.
Creates a new GraphQL subscription service.
Creates a new GraphQL subscription service .
pub(crate) fn new(
        logger: &Logger,
        schema: Arc<Schema>,
        stream: WebSocketStream<S>,
        graphql_runner: Arc<Q>,
    ) -> Self {
        GraphQlConnection {
            id: Uuid::new_v4().to_string(),
            logger: logger.new(o!("component" => "GraphQlConnection")),
            graphql_runner,
            stream,
            schema,
        }
    }
pub ( crate ) fn new ( logger : & Logger , schema : Arc < Schema > , stream : WebSocketStream < S > , graphql_runner : Arc < Q > , ) -> Self { GraphQlConnection { id : Uuid :: new_v4 ( ) . to_string ( ) , logger : logger . new ( o ! ( " " " " ) ) , graphql_runner , stream , schema , } }
Creates a new GraphQL subscription service.
Creates a new GraphQL subscription service .
logger
&Logger
schema
Arc<Schema>
stream
WebSocketStream<S>
graphql_runner
Arc<Q>
logger
&Logger
schema
Arc<Schema>
stream
WebSocketStream<S>
graphql_runner
Arc<Q>