Skip to content

Commit

Permalink
Merge pull request #3071 from apollographql/clenfest/inconsistent_fie…
Browse files Browse the repository at this point in the history
…ld_value_hints

Inconsistent value type hints should not be duplicated per subgraph
  • Loading branch information
sachindshinde authored Jul 9, 2024
2 parents bda679f + 42bd27a commit 2f436ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-wasps-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@apollo/composition": patch
---

Stop duplicating hints for inconsistent value type fields per subgraph.
1 change: 1 addition & 0 deletions composition-js/src/merging/merge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ class Merger {
supergraphElementPrinter: (_, subgraphs) => `"${field.coordinate}" is defined in ${subgraphs}`,
otherElementsPrinter: (_, subgraphs) => ` but not in ${subgraphs}`,
});
break;
}
}
}
Expand Down

0 comments on commit 2f436ba

Please sign in to comment.