Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apollo-federation-types: merge routing_url in `SupergraphConfig::merg…
…e_subgraphs` This function was added a few months ago in #541 and as far as I know is only used in Rover for the `supergraph compose` and `dev` commands to combine configuration from `--graph-ref` and `--supergraph-config`/`--config` (and the feature does not actually work for `supergraph compose` due to the issue fixed in apollographql/rover#2101). The use case here is to let you run composition or dev against a GraphOS graph with some local changes, and so "I just want to change the SDL and nothing else" is a reasonable use case. This change means that if an override specifies SDL but no routing URL for a subgraph, Rover will continue to use the routing URL fetched from GraphOS for that subgraph, which seems reasonable. While this is a "backwards incompatible" change, this crate is only intended for use by the Rover CLI and in the one case where this was called (`rover dev --graph-ref REF --supergraph-config CONFIG`) this seems like a clear improvement.
- Loading branch information