Skip to content

Commit

Permalink
Revert "refactor: use fine-grained imports from graphql-js"
Browse files Browse the repository at this point in the history
This reverts commit 924edf4.
  • Loading branch information
motiz88 committed Apr 15, 2018
1 parent 6d94025 commit 5b0c07b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/schema-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* LICENSE-examples file in the root directory of this source tree.
*/

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

export function execute(query, variables, operationName) {
Expand Down
2 changes: 1 addition & 1 deletion src/schema/commonFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @flow strict
*/

import { GraphQLString } from 'graphql/type';
import { GraphQLString } from 'graphql';

// These two fields appear on all types, so let's only write them once.
export function createdField(): any {
Expand Down
2 changes: 1 addition & 1 deletion src/schema/connections.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {

import { getObjectsFromUrls } from './apiHelper';

import { GraphQLInt, GraphQLList } from 'graphql/type';
import { GraphQLInt, GraphQLList } from 'graphql';

import type { GraphQLObjectType, GraphQLFieldConfig } from 'graphql';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLSchema,
} from 'graphql/type';
} from 'graphql';

import {
fromGlobalId,
Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/film.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/person.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
GraphQLInt,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/planet.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/species.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/starship.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down
2 changes: 1 addition & 1 deletion src/schema/types/vehicle.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
GraphQLList,
GraphQLObjectType,
GraphQLString,
} from 'graphql/type';
} from 'graphql';

import { globalIdField } from 'graphql-relay';

Expand Down

0 comments on commit 5b0c07b

Please sign in to comment.