Crate apollo_federation

Source
Expand description

§Usage

This crate is internal to Apollo Router and not intended to be used directly.

§Crate versioning

The apollo-federation crate does not adhere to Semantic Versioning. Any version may have breaking API changes, as this API is expected to only be used by apollo-router. Instead, the version number matches exactly that of the apollo-router crate version using it.

This version number is not that of the Apollo Federation specification being implemented. See Router documentation for which Federation versions are supported by which Router versions.

Modules§

error
link
merge
query_graph
query_plan
schema
sources
subgraph

Macros§

bail
Break out of the current function, returning an internal error.
ensure
A safe assertion: in debug mode, it panicks on failure, and in production, it returns an internal error.
impl_arrow_method
internal_error
Create an internal error.

Structs§

ApiSchemaOptions
Supergraph
ValidFederationSubgraph
ValidFederationSubgraphs