Reason Client
Package name | Weekly Downloads | Version | License | Updated |
---|---|---|---|---|
graphql-codegen-reason-client (opens in a new tab) | May 4th, 2022 |
Installation
pnpm add -D graphql-codegen-reason-client
Built and maintained by kgoggin (opens in a new tab).
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 (opens in a new tab) repository.