Tauri Plugin graphql
A plugin for Tauri that enables type-safe IPC through GraphQL.
Install
Rust
[]
= "2.0.0"
JavaScript
The only client-side adapter currently is tauri-plugin-graphql-urql
, a custom exchange for urql
.
If you need adapters for other GraphQL clients, open a PR!
Package | Version (click for changelogs) |
---|---|
tauri-plugin-graphql-urql |
Usage
You need to register the plugin giving it a async_graphql::Schema
. This schema will be used to fulfill requests.
use ;
;
Contributing
If you want to help out, there are a few areas that need improvement:
- Client Adapters - Currently, only a urql adapter exists; having adapters for more client libraries would be very nice.
PRs are welcome!