31 releases

0.30.0 Apr 4, 2024
0.29.10 Mar 12, 2024
0.27.8 Aug 30, 2023
0.27.0 Jul 25, 2023
0.1.13 Nov 15, 2022

#343 in HTTP server

Download history 6/week @ 2024-02-26 137/week @ 2024-03-04 156/week @ 2024-03-11 2/week @ 2024-03-18 159/week @ 2024-04-01

323 downloads per month

MIT license

54KB
1.5K SLoC


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.1.9"
  1. Register the plugin
use anyhow::Result;
use apollo_router::register_plugin;
use inigo_rs::Middleware;

register_plugin!("inigo", "middleware", Middleware);

fn main() -> Result<()> {
    apollo_router::main()
}
  1. Configure the plugin
plugins:
  inigo.middleware:
    token: "your-inigo-service-token"

Documentation

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.

Dependencies

~206MB
~4M SLoC