Export GraphQL as a Federation subgraph
A GraphQL SDL export can now join a federated supergraph as is. Tick Federation subgraph on Options and the file is Apollo Federation v2 subgraph SDL. See Federation subgraph from a GraphQL export.
- Ready to compose: an
extend schema @linkheader imports exactly the Federation directives the file uses, and every entity carries an@key. - Keys from identity: a type keeps its own
@key. Otherwise Apiome keys it by its declared primary key, itsidfield or its oneIDfield, and lists each key it chose as synthesized in the fidelity report. - Composition check: Test drive → Toolchain checks runs
rover supergraph composeon the export. - CLI:
apiome export graphql --federation, or--option federation=trueon a job export.
