sova-graphql
GraphQL for Sova: outbound HTTP client (req.graphql()), optional schema server (GraphiQL, subscriptions, GraphqlContext).
Part of Sova.
Guide: https://s00d.github.io/sova/plugins/graphql
Features
| Feature | Description |
|---|---|
client (default) |
Outbound HTTP client + FakeGraphql |
server |
Schema mount, GraphiQL, WebSocket subscriptions, resolver context |
Install
# Server + client
# Client only
Server (3 steps)
use ;
use GraphQl;
let schema = build.finish;
app.install;
Resolvers: ctx.data::<sova::GraphqlContext>()?.state::<YourState>().
License
MIT — see LICENSE.