diff --git a/tests/graphql-federation/gateway/gateway-buildservice.module.ts b/tests/graphql-federation/gateway/gateway-buildservice.module.ts index 11ed6605a..2a9416802 100644 --- a/tests/graphql-federation/gateway/gateway-buildservice.module.ts +++ b/tests/graphql-federation/gateway/gateway-buildservice.module.ts @@ -8,7 +8,6 @@ import { RemoteGraphQLDataSource } from '@apollo/gateway'; { provide: GRAPHQL_GATEWAY_BUILD_SERVICE, useValue: ({ name, url }) => { - console.log('BuildService: %s', name); return new RemoteGraphQLDataSource({ url }); }, }, diff --git a/tests/graphql-federation/posts-service/posts/posts.resolvers.ts b/tests/graphql-federation/posts-service/posts/posts.resolvers.ts index 6b80e7436..9e0d8dac2 100644 --- a/tests/graphql-federation/posts-service/posts/posts.resolvers.ts +++ b/tests/graphql-federation/posts-service/posts/posts.resolvers.ts @@ -1,12 +1,4 @@ -import { - Args, - Mutation, - Query, - Resolver, - ResolveReference, - Parent, - ResolveProperty, -} from '../../../../lib'; +import { Query, Resolver, Parent, ResolveProperty } from '../../../../lib'; import { PostsService } from './posts.service'; import { Post } from './posts.interfaces'; diff --git a/tests/graphql-federation/users-service/users/users.resolvers.ts b/tests/graphql-federation/users-service/users/users.resolvers.ts index 7762d9722..76b21101b 100644 --- a/tests/graphql-federation/users-service/users/users.resolvers.ts +++ b/tests/graphql-federation/users-service/users/users.resolvers.ts @@ -1,14 +1,5 @@ -import { - Args, - Mutation, - Query, - Resolver, - ResolveReference, - Parent, - ResolveProperty, -} from '../../../../lib'; +import { Args, Query, Resolver, ResolveReference } from '../../../../lib'; import { UsersService } from './users.service'; -import { User } from './users.interfaces'; @Resolver('User') export class UsersResolvers { @@ -20,7 +11,7 @@ export class UsersResolvers { } @ResolveReference() - resolveReference(reference: any) { + resolveReference(reference: { __typename: string; id: string }) { return this.usersService.findById(reference.id); } }