Apollo Router Plugin Creator
Official
API 开发
Generates, modifies, and optimizes native Rust plugins for the Apollo Router to customize GraphQL federation request lifecycles.
Streamlines the development of native Rust plugins for the Apollo Router by providing expert guidance on service hooks, request lifecycle management, and Tower middleware layers. This skill assists developers in implementing custom logic—such as JWT authentication, header propagation, and query policy enforcement—across the Router, Supergraph, Execution, and Subgraph services, ensuring highly performant, custom-tailored GraphQL gateway solutions.
主要功能
01Scaffolds boilerplate for new native Rust plugins tailored for Apollo Router.
02Configures Tower layers for request/response transformations, checkpoints, and rate-limiting.
03Provides idiomatic Rust implementation patterns for safe, async gateway customization.
0493 GitHub stars
05Integrates service hooks including router, supergraph, execution, and subgraph services.
06Analyzes and aligns custom plugin logic with the Apollo Router request lifecycle.
使用场景
01Injecting dynamic authorization or tracing headers into downstream microservices using the subgraph_service hook.
02Creating custom JWT authentication or HTTP header manipulation using the router_service hook.
03Implementing custom query policy enforcement and request validation using the supergraph_service hook.