Skip to content

Commit 14e109a

Browse files
committed
move dispatcher to execute, export ExecutionPatchResult
1 parent 38580f5 commit 14e109a

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed
File renamed without changes.

src/execution/execute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import promiseReduce from '../jsutils/promiseReduce';
1515
import promiseForObject from '../jsutils/promiseForObject';
1616
import { type PromiseOrValue } from '../jsutils/PromiseOrValue';
1717
import { type Path, addPath, pathToArray } from '../jsutils/Path';
18-
import { Dispatcher, type ExecutionPatchResult } from '../type/dispatcher';
18+
import { Dispatcher, type ExecutionPatchResult } from './dispatcher';
1919

2020
import { GraphQLError } from '../error/GraphQLError';
2121
import { locatedError } from '../error/locatedError';

src/execution/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export { pathToArray as responsePathAsArray } from '../jsutils/Path';
44

55
export { execute, defaultFieldResolver, defaultTypeResolver } from './execute';
6+
export type { ExecutionPatchResult } from './dispatcher';
67
export type { ExecutionArgs, ExecutionResult } from './execute';
78

89
export { getDirectiveValues } from './values';

src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,11 @@ export {
288288
getDirectiveValues,
289289
} from './execution';
290290

291-
export type { ExecutionArgs, ExecutionResult } from './execution';
291+
export type {
292+
ExecutionArgs,
293+
ExecutionResult,
294+
ExecutionPatchResult,
295+
} from './execution';
292296

293297
export { subscribe, createSourceEventStream } from './subscription';
294298
export type { SubscriptionArgs } from './subscription';

0 commit comments

Comments
 (0)