Skip to content

Commit eba89d4

Browse files
committed
info.executionPath -> info.path
1 parent c31ba0d commit eba89d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/execution/execute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ function resolveField(
582582
rootValue: exeContext.rootValue,
583583
operation: exeContext.operation,
584584
variableValues: exeContext.variableValues,
585-
executionPath: exePath
585+
path: exePath
586586
};
587587

588588
// Get the resolve function, regardless of if its result is normal

src/type/definition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ export type GraphQLResolveInfo = {
483483
rootValue: mixed,
484484
operation: OperationDefinition,
485485
variableValues: { [variableName: string]: mixed },
486-
executionPath: Array<string | number>
486+
path: Array<string | number>
487487
}
488488

489489
export type GraphQLFieldConfig = {

0 commit comments

Comments
 (0)