Skip to content

Commit

Permalink
info.executionPath -> info.path
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed Jun 10, 2016
1 parent c31ba0d commit eba89d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/execution/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ function resolveField(
rootValue: exeContext.rootValue,
operation: exeContext.operation,
variableValues: exeContext.variableValues,
executionPath: exePath
path: exePath
};

// Get the resolve function, regardless of if its result is normal
Expand Down
2 changes: 1 addition & 1 deletion src/type/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export type GraphQLResolveInfo = {
rootValue: mixed,
operation: OperationDefinition,
variableValues: { [variableName: string]: mixed },
executionPath: Array<string | number>
path: Array<string | number>
}

export type GraphQLFieldConfig = {
Expand Down

0 comments on commit eba89d4

Please sign in to comment.