55 releases (15 stable)

new 2.0.0-preview.1 Nov 7, 2024
2.0.0-alpha.7 Sep 23, 2024
1.57.1 Nov 4, 2024
1.52.0 Jul 30, 2024
0.0.4 Nov 24, 2023

#83 in Database interfaces

Download history 1117/week @ 2024-07-20 1373/week @ 2024-07-27 806/week @ 2024-08-03 995/week @ 2024-08-10 1425/week @ 2024-08-17 2039/week @ 2024-08-24 1330/week @ 2024-08-31 2025/week @ 2024-09-07 1641/week @ 2024-09-14 1947/week @ 2024-09-21 1899/week @ 2024-09-28 1012/week @ 2024-10-05 1346/week @ 2024-10-12 1303/week @ 2024-10-19 839/week @ 2024-10-26 1568/week @ 2024-11-02

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

Elastic-2.0

3MB
61K 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
~332K SLoC