-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(federation): Aggregate interfaces for types and interfaces (apoll…
…ographql/apollo-server#4497) For value types which implement interfaces, composition currently exhibits some unexpected behavior. Value types can implement whatever interfaces they'd like within their respective service, but that won't necessarily be represented within the composed schema. To resolve this, we need to aggregate all interfaces that an object or interface might implement and ensure those are represented in the composed schema. It's not important for every service to implement every interface that the others do, so in this sense we can be more permissive and allow each service to choose which interfaces a type or interface should implement locally. Apollo-Orig-Commit-AS: apollographql/apollo-server@3081569
- Loading branch information
1 parent
0bc0806
commit 12b6241
Showing
3 changed files
with
135 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters