-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(compose): when
--output
is used, use --output
in supergraph …
…bin (#2045) - noticed a regression in how we handle setting the federation version when there's no local supergraph config (only the remote); sometimes remote supergraph configs don't have a federation version, leading to trouble with composition (we used to default to the latest federation version; this restores that behavior and adds a bunch of tests to ensure it) - there's a funky case (previous art) for which federation version should take precedence when merging supergraph configs; see the comments for details (and the github comment for a pointer to where it's at) - we know that `--output` works as expected because we have tests for it; this change uses supergraph's `--output` flag, but there's no way (that I can find) to test the presence/absence of its output (which suggests the _real_ heart of this change: quieting down the supergraph binary when doing composition by not dumping it to stdout)
- Loading branch information
1 parent
2bd1d09
commit 1ae8d59
Showing
7 changed files
with
365 additions
and
55 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
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
Oops, something went wrong.