Skip to content

Commit af48008

Browse files
Rename 'schemaPrinter.js' to 'printSchema.js' (#2426)
1 parent 9922fe7 commit af48008

11 files changed

+9
-9
lines changed

src/type/__tests__/schema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { describe, it } from 'mocha';
55

66
import dedent from '../../jsutils/dedent';
77

8-
import { printSchema } from '../../utilities/schemaPrinter';
8+
import { printSchema } from '../../utilities/printSchema';
99

1010
import { GraphQLSchema } from '../schema';
1111
import { GraphQLDirective } from '../directives';

src/utilities/__tests__/buildASTSchema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import {
3636

3737
import { graphqlSync } from '../../graphql';
3838

39-
import { printType, printSchema } from '../schemaPrinter';
39+
import { printType, printSchema } from '../printSchema';
4040
import { buildASTSchema, buildSchema } from '../buildASTSchema';
4141

4242
/**

src/utilities/__tests__/buildClientSchema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
GraphQLID,
2222
} from '../../type/scalars';
2323

24-
import { printSchema } from '../schemaPrinter';
24+
import { printSchema } from '../printSchema';
2525
import { buildSchema } from '../buildASTSchema';
2626
import { buildClientSchema } from '../buildClientSchema';
2727
import { introspectionFromSchema } from '../introspectionFromSchema';

src/utilities/__tests__/extendSchema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
} from '../../type/definition';
3333

3434
import { concatAST } from '../concatAST';
35-
import { printSchema } from '../schemaPrinter';
35+
import { printSchema } from '../printSchema';
3636
import { extendSchema } from '../extendSchema';
3737
import { buildSchema } from '../buildASTSchema';
3838

src/utilities/__tests__/introspectionFromSchema-test.js

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

12-
import { printSchema } from '../schemaPrinter';
12+
import { printSchema } from '../printSchema';
1313
import { buildClientSchema } from '../buildClientSchema';
1414
import { introspectionFromSchema } from '../introspectionFromSchema';
1515

src/utilities/__tests__/lexicographicSortSchema-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { describe, it } from 'mocha';
55

66
import dedent from '../../jsutils/dedent';
77

8-
import { printSchema } from '../schemaPrinter';
8+
import { printSchema } from '../printSchema';
99
import { buildSchema } from '../buildASTSchema';
1010
import { lexicographicSortSchema } from '../lexicographicSortSchema';
1111

src/utilities/__tests__/schemaPrinter-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
} from '../../type/definition';
2424

2525
import { buildSchema } from '../buildASTSchema';
26-
import { printSchema, printIntrospectionSchema } from '../schemaPrinter';
26+
import { printSchema, printIntrospectionSchema } from '../printSchema';
2727

2828
function printForTest(schema) {
2929
const schemaText = printSchema(schema);

src/utilities/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export {
6161
printSchema,
6262
printType,
6363
printIntrospectionSchema,
64-
} from './schemaPrinter';
64+
} from './printSchema';
6565

6666
// Create a GraphQLType from a GraphQL language AST.
6767
export { typeFromAST } from './typeFromAST';

src/utilities/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export {
6161
printSchema,
6262
printType,
6363
printIntrospectionSchema,
64-
} from './schemaPrinter';
64+
} from './printSchema';
6565

6666
// Create a GraphQLType from a GraphQL language AST.
6767
export { typeFromAST } from './typeFromAST';
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)