We’re excited to announce that the Hive Plugin for Apollo-Router is now available on Crates.io!
Why?
The Hive Plugin for Apollo-Router is an integration plugin that allows you to easily integrate Hive’s features into your Apollo-Router projects.
By using Hive Plugin for Apollo-Router, you can leverage Hive’s powerful features such as:
- Fetching Supergraph from Hive CDN
- Sending usage information
- (Coming Soon!) Persisted Documents (using App Deployments)
Hive provides a drop-in replacement for Apollo-Router binary/Docker image that you can use directly, without compiling or installing dependencies.
But, for more advanced users who want to build a custom Apollo-Router with their own native plugins, you can now use the Hive plugin directly from Crates.io!
How to use?
Start by adding the Hive plugin dependency to your Cargo.toml:
And then intergrate the plugin in your codebase:
For additional information about using Hive with Apollo-Router, please refer to our integration documentation.
