This commit is contained in:
iancormac84 2019-12-26 06:16:37 -04:00 committed by Christian Legnitto
parent c6ac0bdcef
commit 001cabc9e9
2 changed files with 1 additions and 2 deletions
juniper/src
executor
lib.rs

View file

@ -664,7 +664,6 @@ where
S: ScalarValue, S: ScalarValue,
QueryT: GraphQLType<S, Context = CtxT>, QueryT: GraphQLType<S, Context = CtxT>,
MutationT: GraphQLType<S, Context = CtxT>, MutationT: GraphQLType<S, Context = CtxT>,
for<'c> &'c S: ScalarRefValue<'c>,
{ {
let mut fragments = vec![]; let mut fragments = vec![];
for def in document.iter() { for def in document.iter() {

View file

@ -228,7 +228,7 @@ where
} }
} }
execute_validated_query(document, operation_name, root_node, variables, context) execute_validated_query(&document, operation, root_node, variables, context)
} }
/// Execute a query in a provided schema /// Execute a query in a provided schema