Skip to main content

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.

Installation#

yarn add -D graphql-codegen-reason-client

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.