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 1116/week @ 2024-07-18 1221/week @ 2024-07-25 1012/week @ 2024-08-01 839/week @ 2024-08-08 1343/week @ 2024-08-15 1786/week @ 2024-08-22 1200/week @ 2024-08-29 2168/week @ 2024-09-05 1804/week @ 2024-09-12 1900/week @ 2024-09-19 2006/week @ 2024-09-26 1138/week @ 2024-10-03 1223/week @ 2024-10-10 1392/week @ 2024-10-17 975/week @ 2024-10-24 956/week @ 2024-10-31

4,812 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
~333K SLoC