graphql-effect
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

graphql-effect

Make your GraphQL Schema to allow use Effect.

Install

$ yarn add graphql-effect

Usage

import { enableExecuteEffect } from "graphql-effect";

declare const yourSchema: import("graphql").GraphQLSchema;
const schema = enableExecuteEffect(yourSchema);

API

enableExecuteEffect(schema, runtime?)

Converts the given GraphQLSchema. The Effect.Effect will be available as a result of the field resolver.

License

MIT

Package Sidebar

Install

npm i graphql-effect

Weekly Downloads

4

Version

0.1.0

License

MIT

Unpacked Size

6.16 kB

Total Files

8

Last publish

Collaborators

  • imch