63 releases (17 stable)

new 2.0.0-preview.3 Dec 9, 2024
2.0.0-preview.1 Nov 7, 2024
2.0.0-preview.0 Oct 1, 2024
1.59.0-rc.0 Dec 11, 2024
0.0.4 Nov 24, 2023

#91 in Database interfaces

Download history 2056/week @ 2024-08-25 1397/week @ 2024-09-01 1927/week @ 2024-09-08 1675/week @ 2024-09-15 2041/week @ 2024-09-22 1790/week @ 2024-09-29 1041/week @ 2024-10-06 1318/week @ 2024-10-13 1296/week @ 2024-10-20 823/week @ 2024-10-27 1520/week @ 2024-11-03 1000/week @ 2024-11-10 1607/week @ 2024-11-17 843/week @ 2024-11-24 1434/week @ 2024-12-01 1297/week @ 2024-12-08

5,206 downloads per month
Used in 6 crates (4 directly)

Elastic-2.0

3MB
62K SLoC

Crates.io docs Join the community forum Join our Discord server

Apollo Federation

Apollo Federation is an architecture for declaratively composing APIs into a unified graph. Each team can own their slice of the graph independently, empowering them to deliver autonomously and incrementally.

Federation 2 is an evolution of the original Apollo Federation with an improved shared ownership model, enhanced type merging, and cleaner syntax for a smoother developer experience. It’s backwards compatible, requiring no major changes to your subgraphs.

Checkout the Federation 2 docs and demo repo to take it for a spin and let us know what you think!

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.

Contributing

See contributing to the apollo-router repository

Security

For more info on how to contact the team for security issues, see our Security Policy.

License

Source code in this repository is covered by the Elastic License 2.0. The default throughout the repository is a license under the Elastic License 2.0, unless a file header or a license file in a subdirectory specifies another license. See the LICENSE for the full license text.

Dependencies

~19MB
~336K SLoC