Company
Date Published
Author
Jens Neuse
Word count
2962
Language
English
Hacker News points
None

Summary

Graph Feature Flags are a powerful tool to enable isolated experiments and gradual rollouts of new features in GraphQL Federation. With Cosmo's Graph Feature Flags, you can experiment with new features in isolation and gradually roll them out to a subset of traffic in production. This is achieved through the creation of isolated compositions of Subgraphs where one or more Subgraphs are replaced with different versions, potentially incompatible with other isolated compositions. The approach allows for safe and controlled evolution of the Schema, reducing the need for centralized coordination across teams. Graph Feature Flags also enable gradual rollouts of new features to a subset of traffic in production, allowing for monitoring of performance and user experience impact. Additionally, they provide a declarative way to define Feature Flags, enabling build-time composition and preventing runtime errors due to incompatible Subgraphs. The solution is designed to be scalable, flexible, and efficient, making it an attractive option for organizations looking to improve their GraphQL Federation setup.