On this page

Reason Client

GraphQL Code Generator plugin for ReasonML types. A plugin for GraphQL Codegen to generate ReasonML types based on your GraphQL schema for use in a client application.

Version
1.1.2
Weekly downloads
25
License
MIT
Updated
Oct 21, 2019

Installation

          npm i -D graphql-codegen-reason-client
        

Built and maintained by kgoggin.

A plugin for GraphQL Codegen to generate ReasonML types based on your GraphQL schema for use in a client application.

Examples

Set up your project per the GraphQL Codegen Docs, and specify this plugin in your codegen.yml:

schema: http://path.to.your.app
generates:
  src/GraphQLTypes.re:
    - reason-client

Usage & Documentation

For the complete documentation, please refer to kgoggin/graphql-codegen-reason repository.