Company
Date Published
Author
Phil Prasek
Word count
846
Language
English
Hacker News points
None

Summary

The Apollo Federation 2 is now generally available, with improvements across the entire Apollo platform, including Gateway 2.0, the Rover CLI, and Apollo Studio. The new version builds on the success of the original with an improved shared ownership model, enhanced type merging, and cleaner syntax for a smoother developer experience. It adds first-class support for shared interfaces, enums, and other value types, making it easier to reuse common value types like interfaces and enums across subgraphs. Federation 2 also improves upon the shared ownership model, making shared types more flexible and allowing smaller incremental changes without downtime or coordinated delivery. Additionally, it includes deeper static analysis, better error messages, and a new generalized composition model that helps catch errors at build-time instead of at runtime.