Skip to content

Commit 3c4086e

Browse files
Update packages/graphql/lib/schema-builder/collections/field-directive.collection.ts
1 parent 83bc9ca commit 3c4086e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/graphql/lib/schema-builder/collections/field-directive.collection.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export class FieldDirectiveCollection extends MetadataListByNameCollection<Prope
88

99
add(value: PropertyDirectiveMetadata) {
1010
const combinationKey = `${value.sdl}${value.fieldName}`;
11-
if (this.uniqueCombinations.has(combinationKey)) return;
11+
if (this.uniqueCombinations.has(combinationKey)) {
12+
return;
13+
}
1214

1315
super.add(value, value.fieldName);
1416

0 commit comments

Comments
 (0)