36 releases (12 breaking)

new 0.13.0 Mar 27, 2025
0.11.0 Mar 21, 2025

#397 in HTTP server

Download history 73/week @ 2025-01-22 256/week @ 2025-01-29 914/week @ 2025-02-05 637/week @ 2025-02-12 758/week @ 2025-02-19 1154/week @ 2025-02-26 386/week @ 2025-03-05 717/week @ 2025-03-12 657/week @ 2025-03-19

3,185 downloads per month

MPL-2.0 license

270KB
5K SLoC

Grafbase SDK for Gateway Extensions

docs.rs

This crate provides building blocks for creating Grafbase Gateway extensions.

There exist three kinds of extensions today:

  • [AuthenticationExtension]: Authenticates clients before any GraphQL processing, generating a token with custom data for further extensions.
  • [AuthorizationExtension]: Control access to certain fields, objects, interfaces, scalars or enums.
  • [ResolverExtension]: Called by the gateway to resolve data, replacing or augmenting a GraphQL subgraph.

Each extension has its dedicated documentation and tutorial you can follow through.

Dependencies

~4–23MB
~378K SLoC