pub fn execute<'a, S, CtxT, QueryT, MutationT>(
document_source: &'a str,
operation_name: Option<&str>,
root_node: &'a RootNode<'_, QueryT, MutationT, S>,
variables: &Variables<S>,
context: &CtxT
) -> Result<(Value<S>, Vec<ExecutionError<S>>), GraphQLError<'a>>where
S: ScalarValue,
for<'b> &'b S: ScalarRefValue<'b>,
QueryT: GraphQLType<S, Context = CtxT>,
MutationT: GraphQLType<S, Context = CtxT>,
Expand description
Execute a query in a provided schema