Skip to content

Commit

Permalink
Merge pull request #1605 from shian15810/apollo
Browse files Browse the repository at this point in the history
Import d.ts from @apollo/federation and @apollo/gateway instead of ts
  • Loading branch information
kamilmysliwiec committed Jul 1, 2021
2 parents 0355db6 + e751df4 commit 392a9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/interfaces/gql-gateway-module-options.interface.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GatewayConfig, ServiceEndpointDefinition } from '@apollo/gateway';
import { GraphQLDataSource } from '@apollo/gateway/src/datasources/types';
import { GraphQLDataSource } from '@apollo/gateway/dist/datasources/types';
import { Type } from '@nestjs/common';
import { ModuleMetadata } from '@nestjs/common/interfaces';
import { GqlModuleOptions } from './gql-module-options.interface';
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/transform-schema.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The changed lines are 31-40 and 85-87 and the original file can be found here:
// https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-graphql/src/schema/transformSchema.ts

import { GraphQLReferenceResolver } from '@apollo/federation/src/types';
import { GraphQLReferenceResolver } from '@apollo/federation/dist/types';
import {
GraphQLFieldConfigArgumentMap,
GraphQLFieldConfigMap,
Expand Down

0 comments on commit 392a9ae

Please sign in to comment.