Skip to content

Commit 2f436ba

Browse files
Merge pull request #3071 from apollographql/clenfest/inconsistent_field_value_hints
Inconsistent value type hints should not be duplicated per subgraph
2 parents bda679f + 42bd27a commit 2f436ba

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/violet-wasps-cry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@apollo/composition": patch
3+
---
4+
5+
Stop duplicating hints for inconsistent value type fields per subgraph.

composition-js/src/merging/merge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ class Merger {
10771077
supergraphElementPrinter: (_, subgraphs) => `"${field.coordinate}" is defined in ${subgraphs}`,
10781078
otherElementsPrinter: (_, subgraphs) => ` but not in ${subgraphs}`,
10791079
});
1080+
break;
10801081
}
10811082
}
10821083
}

0 commit comments

Comments
 (0)