File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ function executeImpl(
217
217
// field and its descendants will be omitted, and sibling fields will still
218
218
// be executed. An execution which encounters errors will still result in a
219
219
// resolved Promise.
220
- const data = executeOperation(exeContext, rootValue);
220
+ const data = executeOperation(exeContext, context.operation, rootValue);
221
221
return buildResponse(exeContext, data);
222
222
}
223
223
@@ -378,6 +378,7 @@ export function buildExecutionContext(
378
378
*/
379
379
function executeOperation (
380
380
exeContext : ExecutionContext ,
381
+ operation : OperationDefinitionNode ,
381
382
rootValue : mixed ,
382
383
) : MaybePromise < ObjMap < mixed > | null> {
383
384
const operation = exeContext . operation ;
You can’t perform that action at this time.
0 commit comments