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

#89 in Database interfaces

Download history 1624/week @ 2024-08-21 1500/week @ 2024-08-28 1958/week @ 2024-09-04 1774/week @ 2024-09-11 1849/week @ 2024-09-18 2091/week @ 2024-09-25 1269/week @ 2024-10-02 1189/week @ 2024-10-09 1416/week @ 2024-10-16 1079/week @ 2024-10-23 1065/week @ 2024-10-30 1262/week @ 2024-11-06 1282/week @ 2024-11-13 1287/week @ 2024-11-20 883/week @ 2024-11-27 1287/week @ 2024-12-04

4,899 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