Skip to content

Commit 2cdaa64

Browse files
authored
rename entrypoints.ts to execute.ts (#4539)
finishing off #4538 and #4527
1 parent 4678bce commit 2cdaa64

27 files changed

Lines changed: 28 additions & 31 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
@@ -26,7 +26,7 @@ import {
2626
execute,
2727
experimentalExecuteIncrementally,
2828
subscribe,
29-
} from '../entrypoints.js';
29+
} from '../execute.js';
3030
import type {
3131
InitialIncrementalExecutionResult,
3232
SubsequentIncrementalExecutionResult,

src/execution/__tests__/collectFields-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
import { buildSchema } from '../../utilities/buildASTSchema.js';
99

1010
import { collectFields } from '../collectFields.js';
11-
import { validateExecutionArgs } from '../entrypoints.js';
11+
import { validateExecutionArgs } from '../execute.js';
1212

1313
const schema = buildSchema(`
1414
type Query {

src/execution/__tests__/defer-test.ts

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

21-
import { execute, experimentalExecuteIncrementally } from '../entrypoints.js';
21+
import { execute, experimentalExecuteIncrementally } from '../execute.js';
2222
import type {
2323
InitialIncrementalExecutionResult,
2424
SubsequentIncrementalExecutionResult,

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({

0 commit comments

Comments
 (0)