Skip to content

Commit

Permalink
Rename 'schemaPrinter.js' to 'printSchema.js' (#2426)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 5, 2020
1 parent 9922fe7 commit af48008
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/type/__tests__/schema-test.js
Expand Up @@ -5,7 +5,7 @@ import { describe, it } from 'mocha';

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

import { printSchema } from '../../utilities/schemaPrinter';
import { printSchema } from '../../utilities/printSchema';

import { GraphQLSchema } from '../schema';
import { GraphQLDirective } from '../directives';
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/buildASTSchema-test.js
Expand Up @@ -36,7 +36,7 @@ import {

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

import { printType, printSchema } from '../schemaPrinter';
import { printType, printSchema } from '../printSchema';
import { buildASTSchema, buildSchema } from '../buildASTSchema';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/buildClientSchema-test.js
Expand Up @@ -21,7 +21,7 @@ import {
GraphQLID,
} from '../../type/scalars';

import { printSchema } from '../schemaPrinter';
import { printSchema } from '../printSchema';
import { buildSchema } from '../buildASTSchema';
import { buildClientSchema } from '../buildClientSchema';
import { introspectionFromSchema } from '../introspectionFromSchema';
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/extendSchema-test.js
Expand Up @@ -32,7 +32,7 @@ import {
} from '../../type/definition';

import { concatAST } from '../concatAST';
import { printSchema } from '../schemaPrinter';
import { printSchema } from '../printSchema';
import { extendSchema } from '../extendSchema';
import { buildSchema } from '../buildASTSchema';

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/introspectionFromSchema-test.js
Expand Up @@ -9,7 +9,7 @@ import { GraphQLSchema } from '../../type/schema';
import { GraphQLString } from '../../type/scalars';
import { GraphQLObjectType } from '../../type/definition';

import { printSchema } from '../schemaPrinter';
import { printSchema } from '../printSchema';
import { buildClientSchema } from '../buildClientSchema';
import { introspectionFromSchema } from '../introspectionFromSchema';

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/lexicographicSortSchema-test.js
Expand Up @@ -5,7 +5,7 @@ import { describe, it } from 'mocha';

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

import { printSchema } from '../schemaPrinter';
import { printSchema } from '../printSchema';
import { buildSchema } from '../buildASTSchema';
import { lexicographicSortSchema } from '../lexicographicSortSchema';

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/__tests__/schemaPrinter-test.js
Expand Up @@ -23,7 +23,7 @@ import {
} from '../../type/definition';

import { buildSchema } from '../buildASTSchema';
import { printSchema, printIntrospectionSchema } from '../schemaPrinter';
import { printSchema, printIntrospectionSchema } from '../printSchema';

function printForTest(schema) {
const schemaText = printSchema(schema);
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/index.d.ts
Expand Up @@ -61,7 +61,7 @@ export {
printSchema,
printType,
printIntrospectionSchema,
} from './schemaPrinter';
} from './printSchema';

// Create a GraphQLType from a GraphQL language AST.
export { typeFromAST } from './typeFromAST';
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/index.js
Expand Up @@ -61,7 +61,7 @@ export {
printSchema,
printType,
printIntrospectionSchema,
} from './schemaPrinter';
} from './printSchema';

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

0 comments on commit af48008

Please sign in to comment.