Function juniper_warp::make_graphql_filter_sync [−][src]
pub fn make_graphql_filter_sync<Query, Mutation, Subscription, CtxT, S>(
schema: RootNode<'static, Query, Mutation, Subscription, S>,
context_extractor: BoxedFilter<(CtxT,)>
) -> BoxedFilter<(Response<Vec<u8>>,)> where
Query: GraphQLType<S, Context = CtxT, TypeInfo = ()> + Send + Sync + 'static,
Mutation: GraphQLType<S, Context = CtxT, TypeInfo = ()> + Send + Sync + 'static,
Subscription: GraphQLType<S, Context = CtxT, TypeInfo = ()> + Send + Sync + 'static,
CtxT: Send + Sync + 'static,
S: ScalarValue + Send + Sync + 'static,
Expand description
Make a synchronous filter for graphql endpoint.