Skip to content

Commit e9de165

Browse files
committed
rename entrypoints.ts to execute.ts (#4539)
finishing off #4538 and #4527
1 parent 1d9bf21 commit e9de165

24 files changed

Lines changed: 25 additions & 25 deletions

benchmark/introspectionFromSchema-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { executeSync } from 'graphql/execution/entrypoints.js';
1+
import { executeSync } from 'graphql/execution/execute.js';
22
import { parse } from 'graphql/language/parser.js';
33
import { buildSchema } from 'graphql/utilities/buildASTSchema.js';
44
import { getIntrospectionQuery } from 'graphql/utilities/getIntrospectionQuery.js';

benchmark/list-async-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execute } from 'graphql/execution/entrypoints.js';
1+
import { execute } from 'graphql/execution/execute.js';
22
import { parse } from 'graphql/language/parser.js';
33
import { buildSchema } from 'graphql/utilities/buildASTSchema.js';
44

benchmark/list-asyncIterable-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execute } from 'graphql/execution/entrypoints.js';
1+
import { execute } from 'graphql/execution/execute.js';
22
import { parse } from 'graphql/language/parser.js';
33
import { buildSchema } from 'graphql/utilities/buildASTSchema.js';
44

benchmark/list-sync-benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { execute } from 'graphql/execution/entrypoints.js';
1+
import { execute } from 'graphql/execution/execute.js';
22
import { parse } from 'graphql/language/parser.js';
33
import { buildSchema } from 'graphql/utilities/buildASTSchema.js';
44

src/execution/__tests__/ResolveInfo-test.ts

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

1212
import { collectFields } from '../collectFields.js';
13-
import { validateExecutionArgs } from '../entrypoints.js';
13+
import { validateExecutionArgs } from '../execute.js';
1414
import { ResolveInfo } from '../ResolveInfo.js';
1515

1616
describe('ResolveInfo', () => {

src/execution/__tests__/abstract-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

1818
import { buildSchema } from '../../utilities/buildASTSchema.js';
1919

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

2222
interface Context {
2323
async: boolean;

src/execution/__tests__/cancellation-test.ts

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

2121
import { buildSchema } from '../../utilities/buildASTSchema.js';
2222

23-
import { execute, subscribe } from '../entrypoints.js';
23+
import { execute, subscribe } from '../execute.js';
2424

2525
const schema = buildSchema(`
2626
type Todo {

src/execution/__tests__/directives-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GraphQLObjectType } from '../../type/definition.js';
77
import { GraphQLString } from '../../type/scalars.js';
88
import { GraphQLSchema } from '../../type/schema.js';
99

10-
import { executeSync } from '../entrypoints.js';
10+
import { executeSync } from '../execute.js';
1111

1212
const schema = new GraphQLSchema({
1313
query: new GraphQLObjectType({

src/execution/__tests__/errorPropagation-test.ts

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

99
import { buildSchema } from '../../utilities/buildASTSchema.js';
1010

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

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

src/execution/__tests__/executor-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
} from '../../type/scalars.js';
2727
import { GraphQLSchema } from '../../type/schema.js';
2828

29-
import { execute, executeSync } from '../entrypoints.js';
29+
import { execute, executeSync } from '../execute.js';
3030

3131
describe('Execute: Handles basic execution tasks', () => {
3232
it('executes arbitrary code', async () => {

0 commit comments

Comments
 (0)