GraphQL for Platform Teams
Home · Docs · Issues · Slack

### Overview Gain instant monitoring and protection into GraphQL APIs. Unblock platform teams and accelerate GraphQL adoption. Inigo's platform integration offers GraphQL Security, Analytics, Rate-limiting, Access Control and more. This package is the Inigo plugin for the Apollo Rust Router ### Integration 1. Import the Inigo library in your Cargo.toml ``` [dependencies] inigo-rs = "0.30.10" ``` 2. Register the plugin ```rs use apollo_router::register_plugin; use inigo_rs::registry::InigoRegistry; use inigo_rs::Middleware; register_plugin!("inigo", "middleware", Middleware); fn main() { // Initialize the Inigo Registry and start the Apollo Router match InigoRegistry::new(None).and(apollo_router::main()) { Ok(_) => {} Err(e) => { eprintln!("{}", e); std::process::exit(1); } } } ``` 3. Configure the plugin ```yaml plugins: inigo.middleware: token: "your-inigo-service-token" ``` 4. Placed a copy of [Inigo lib](https://github.com/inigolabs/artifacts/releases) file in the docker and set this env variable. For example: ``` INIGO_LIB_PATH=/inigo-linux-amd64.so ``` ### Documentation * [Docs](https://docs.inigo.io/) * [Integration](https://docs.inigo.io/product/agent_installation/ruby_on_rails) * [Example](https://github.com/inigolabs/inigo-rs/tree/master/examples) ### Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. ### License Distributed under the MIT License.