Company
Date Published
Author
Ran Magen
Word count
498
Language
English
Hacker News points
1

Summary

The Apollo Graph Manager's schema registry allows teams to explore, maintain, and monitor their data graph with the help of features that require a synced schema. To facilitate this, Apollo has introduced a new feature called schema reporting, which enables automatic registration of the server's schema with the Graph Manager on startup, making it easier for teams to keep their schemas up-to-date. This feature provides several benefits, including tracking schema history, sharing and iterating on development schemas, setting up continuous integration, and improving autocomplete features in IDEs like VS Code. To get started with schema reporting, teams need to sign up for Graph Manager, obtain an API key, set the `APOLLO_KEY` environment variable, and configure their server to report its schema using the `engine.reportSchema` option. Additionally, any GraphQL server can implement the schema reporting protocol, which is publicly documented, allowing Apollo to support various servers in using this feature.