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