Function juniper::execute
[−]
[src]
pub fn execute<'a, CtxT, QueryT, MutationT>(
document_source: &'a str,
operation_name: Option<&str>,
root_node: &RootNode<QueryT, MutationT>,
variables: &Variables,
context: &CtxT
) -> Result<(Value, Vec<ExecutionError>), GraphQLError<'a>> where
QueryT: GraphQLType<Context = CtxT>,
MutationT: GraphQLType<Context = CtxT>,
Execute a query in a provided schema