graphql_handler

Function graphql_handler 

Source
pub async fn graphql_handler(
    schema: Extension<Schema<Query, EmptyMutation, EmptySubscription>>,
    state: Extension<Arc<ApiState>>,
    req: Json<Request>,
) -> Json<Response>
Expand description

GraphQL handler for Axum