Skip to content

Commit 4678bce

Browse files
authored
rename execute.ts to Executor.ts file (#4538)
in prelude to renaming `entrypoints.ts` back to `execute.ts` finishing off #4527
1 parent 3528ee1 commit 4678bce

14 files changed

Lines changed: 15 additions & 15 deletions

src/execution/ResolveInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type {
1616
} from '../type/index.js';
1717

1818
import type { FieldDetailsList } from './collectFields.js';
19-
import type { ValidatedExecutionArgs } from './execute.js';
19+
import type { ValidatedExecutionArgs } from './Executor.js';
2020
import type { VariableValues } from './values.js';
2121

2222
/** @internal */

src/execution/__tests__/cancellation-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
import type {
3131
InitialIncrementalExecutionResult,
3232
SubsequentIncrementalExecutionResult,
33-
} from '../execute.js';
33+
} from '../Executor.js';
3434

3535
async function complete(
3636
document: DocumentNode,

src/execution/__tests__/defer-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { execute, experimentalExecuteIncrementally } from '../entrypoints.js';
2222
import type {
2323
InitialIncrementalExecutionResult,
2424
SubsequentIncrementalExecutionResult,
25-
} from '../execute.js';
25+
} from '../Executor.js';
2626

2727
const friendType = new GraphQLObjectType({
2828
fields: {

src/execution/__tests__/errorPropagation-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { parse } from '../../language/parser.js';
99
import { buildSchema } from '../../utilities/buildASTSchema.js';
1010

1111
import { execute } from '../entrypoints.js';
12-
import type { ExecutionResult } from '../execute.js';
12+
import type { ExecutionResult } from '../Executor.js';
1313

1414
const syncError = new Error('bar');
1515

src/execution/__tests__/lists-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { GraphQLSchema } from '../../type/schema.js';
1919
import { buildSchema } from '../../utilities/buildASTSchema.js';
2020

2121
import { execute, executeSync } from '../entrypoints.js';
22-
import type { ExecutionResult } from '../execute.js';
22+
import type { ExecutionResult } from '../Executor.js';
2323

2424
describe('Execute: Accepts any iterable as list value', () => {
2525
function complete(rootValue: unknown) {

src/execution/__tests__/nonnull-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { GraphQLSchema } from '../../type/schema.js';
1414
import { buildSchema } from '../../utilities/buildASTSchema.js';
1515

1616
import { execute, executeSync } from '../entrypoints.js';
17-
import type { ExecutionResult } from '../execute.js';
17+
import type { ExecutionResult } from '../Executor.js';
1818

1919
const syncError = new Error('sync');
2020
const syncNonNullError = new Error('syncNonNull');

src/execution/__tests__/oneof-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { parse } from '../../language/parser.js';
77
import { buildSchema } from '../../utilities/buildASTSchema.js';
88

99
import { execute } from '../entrypoints.js';
10-
import type { ExecutionResult } from '../execute.js';
10+
import type { ExecutionResult } from '../Executor.js';
1111

1212
const schema = buildSchema(`
1313
type Query {

src/execution/__tests__/stream-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { execute, experimentalExecuteIncrementally } from '../entrypoints.js';
2323
import type {
2424
InitialIncrementalExecutionResult,
2525
SubsequentIncrementalExecutionResult,
26-
} from '../execute.js';
26+
} from '../Executor.js';
2727

2828
const friendType = new GraphQLObjectType({
2929
fields: {

src/execution/__tests__/subscribe-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
executeSubscriptionEvent,
2727
subscribe,
2828
} from '../entrypoints.js';
29-
import type { ExecutionResult } from '../execute.js';
29+
import type { ExecutionResult } from '../Executor.js';
3030

3131
import { SimplePubSub } from './simplePubSub.js';
3232

0 commit comments

Comments
 (0)