You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when any subgraph contains an @link directive, rover should just use federation 2 composition under the hood.
right now the only way to use federation 2 is to set federation_version: 2 in supergraph.yaml
this means if you pass a bunch of subgraphs with @link directives, rover supergraph compose will use federation 1 composition by default. we should instead detect the existence of an @link directive, and use SupergraphConfig::set_federation_version to FederationVersion::LatestFedTwohere.
@lrlna has kindly promised to pair with me on this next week - apollo-rs should be a big help here.
The text was updated successfully, but these errors were encountered:
when any subgraph contains an
@link
directive, rover should just use federation 2 composition under the hood.right now the only way to use federation 2 is to set
federation_version: 2
insupergraph.yaml
this means if you pass a bunch of subgraphs with
@link
directives,rover supergraph compose
will use federation 1 composition by default. we should instead detect the existence of an@link
directive, and useSupergraphConfig::set_federation_version
toFederationVersion::LatestFedTwo
here.@lrlna has kindly promised to pair with me on this next week -
apollo-rs
should be a big help here.The text was updated successfully, but these errors were encountered: