Skip to content

Commit

Permalink
Merge branch 'Namielusi-fix/graphql-tools-pkg'
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Nov 9, 2020
2 parents 243b963 + 84991fa commit 7349926
Show file tree
Hide file tree
Showing 5 changed files with 466 additions and 3,078 deletions.
2 changes: 1 addition & 1 deletion lib/federation/graphql-federation.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
isScalarType,
isUnionType,
} from 'graphql';
import { mergeSchemas } from 'graphql-tools';
import { mergeSchemas } from '@graphql-tools/merge';
import { forEach, isEmpty } from 'lodash';
import { GraphQLSchemaBuilder } from '../graphql-schema.builder';
import { GqlModuleOptions } from '../interfaces';
Expand Down
2 changes: 1 addition & 1 deletion lib/graphql-definitions.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { isEmpty } from '@nestjs/common/utils/shared.utils';
import { gql } from 'apollo-server-core';
import * as chokidar from 'chokidar';
import { printSchema } from 'graphql';
import { makeExecutableSchema } from 'graphql-tools';
import { makeExecutableSchema } from '@graphql-tools/schema';
import {
DefinitionsGeneratorOptions,
GraphQLAstExplorer,
Expand Down
8 changes: 3 additions & 5 deletions lib/graphql.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ import {
lexicographicSortSchema,
printSchema,
} from 'graphql';
import {
makeExecutableSchema,
mergeSchemas,
SchemaDirectiveVisitor,
} from 'graphql-tools';
import { mergeSchemas } from '@graphql-tools/merge';
import { makeExecutableSchema } from '@graphql-tools/schema';
import { SchemaDirectiveVisitor } from '@graphql-tools/utils';
import { forEach, isEmpty } from 'lodash';
import {
DefinitionsGeneratorOptions,
Expand Down

0 comments on commit 7349926

Please sign in to comment.