Skip to content

Commit 1d9bf21

Browse files
committed
rename execute.ts to Executor.ts file (#4538)
in prelude to renaming `entrypoints.ts` back to `execute.ts` finishing off #4527
1 parent 4a6e5bc commit 1d9bf21

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

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__/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
@@ -17,7 +17,7 @@ import { GraphQLSchema } from '../../type/schema.js';
1717
import { buildSchema } from '../../utilities/buildASTSchema.js';
1818

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

2222
const syncError = new Error('sync');
2323
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__/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

src/execution/entrypoints.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ import { assertValidSchema } from '../type/index.js';
2222
import type { GraphQLSchema } from '../type/schema.js';
2323

2424
import type { FragmentDetails } from './collectFields.js';
25-
import type { ExecutionResult, ValidatedExecutionArgs } from './execute.js';
25+
import type { ExecutionResult, ValidatedExecutionArgs } from './Executor.js';
2626
import {
2727
createSourceEventStreamImpl,
2828
executeQueryOrMutationOrSubscriptionEvent,
2929
mapSourceToResponse,
30-
} from './execute.js';
30+
} from './Executor.js';
3131
import { getVariableSignature } from './getVariableSignature.js';
3232
import { getVariableValues } from './values.js';
3333

src/execution/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export { pathToArray as responsePathAsArray } from '../jsutils/Path.js';
22

3-
export { executeQueryOrMutationOrSubscriptionEvent } from './execute.js';
3+
export { executeQueryOrMutationOrSubscriptionEvent } from './Executor.js';
44

55
export {
66
createSourceEventStream,
@@ -17,7 +17,7 @@ export type {
1717
ValidatedExecutionArgs,
1818
ExecutionResult,
1919
FormattedExecutionResult,
20-
} from './execute.js';
20+
} from './Executor.js';
2121

2222
export {
2323
getArgumentValues,

src/graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { validateSchema } from './type/validate.js';
1515
import { validate } from './validation/validate.js';
1616

1717
import { execute } from './execution/entrypoints.js';
18-
import type { ExecutionResult } from './execution/execute.js';
18+
import type { ExecutionResult } from './execution/Executor.js';
1919

2020
/**
2121
* This is the primary entry point function for fulfilling GraphQL operations

0 commit comments

Comments
 (0)