Skip to content

Commit 6a215f6

Browse files
Update packages/graphql/lib/federation/graphql-federation-definitions.factory.ts
1 parent 9a282ae commit 6a215f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/graphql/lib/federation/graphql-federation-definitions.factory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export class GraphQLFederationDefinitionsFactory extends GraphQLDefinitionsFacto
3737
},
3838
]);
3939

40-
// buildSubgraphSchema fills empty Query definition if there is `extend type Query` definition without original `type Query` definition.
41-
// This causes duplicate IQuery interfaces.
42-
// see: https://github.com/nestjs/graphql/issues/2344
40+
// "buildSubgraphSchema" generates an empty Query definition if there is the `extend type Query` statement
41+
// This leads to duplicated IQuery interfaces
42+
// see: https://github.com//issues/2344
4343
const mergedDefinition = mergeTypeDefs([printSubgraphSchema(schema)], {
4444
useSchemaDefinition: false,
4545
throwOnConflict: true,

0 commit comments

Comments
 (0)