mizuki-graphiql-fetcher
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

mizuki-graphiql-fetcher

Npm

Custom graphiql fetcher that uses Tauri's IPC system to resolve queries against a GraphQL endpoint.

Install

$ pnpm add mizuki-graphiql-fetcher
# or
$ npm install mizuki-graphiql-fetcher
# or
$ yarn add mizuki-graphiql-fetcher

Usage

You need to register the plugin with Tauri first! Please see the top-level Readme for a full example.

Import and use the custom fetcher to connect to the GraphQL endpoint exposed over IPC.

import makeMizukiFetcher from 'mizuki-graphiql-fetcher'
import GraphiQL from "graphiql";

const fetcher = makeMizukiFetcher("my-plugin");

function MyGraphIQL() {
    return <GraphiQL fetcher={fetcher}>
}

License

MIT © Tony Mushah

Readme

Keywords

Package Sidebar

Install

npm i mizuki-graphiql-fetcher

Weekly Downloads

70

Version

1.0.0

License

MIT

Unpacked Size

6.49 kB

Total Files

5

Last publish

Collaborators

  • tonymushah