back to home

graphql-hive / federation-composition

Open Source Composition library for Apollo Federation

54 stars
8 forks
14 issues
TypeScriptJavaScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing graphql-hive/federation-composition in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/graphql-hive/federation-composition)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Federation Composition Supports all Federation versions. Drop-in replacement for . Learn more about compability. Comparison with • Open Source (MIT License) • identical API • same set of validation rules and exact same error messages • produces Supergraph SDL (can be used with Apollo Router and every tool that supports Supergraph SDL) • does not support Hints • 3-4x faster • up to 2x less memory usage Installation Usage Contributing Install the dependencies: Run the tests: How to help? • Grab one of the failing tests and fix it. • Add new tests to cover more cases. • Add missing rules. • Look for comments in the code and fix/implement them. • Todos with are on Notion. • Look for or in the tests. • Refactor code (piece by piece) if you feel like it. Compatibility The lack of a publicly available specification for Apollo Federation, coupled with the non open-source license of the Apollo Composition library, makes it difficult or even impossible to assure complete compatibility of our open-source composition library. Given that Apollo tools utilize their composition library, there is a potential for conflicting results between our composition library and Apollo's. This may lead to variations in the supergraph, differing composition errors, or, in some cases, conflicting composition outcomes. We are working to ensure that our composition library is as compatible as possible with Apollo's and will continue to do so as we learn more about the Federation specification. Your feedback and bug reports are welcome and appreciated. Supergraph SDL Composition ✅ Done Validation Validation rules • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ • ✅ Not yet covered Validation rules • [ ] • [ ] • [ ] • [ ] • [ ] • [ ]