Back to Graphql Code Generator

reason-client

website/src/pages/plugins/other/reason-client.mdx

1.17.7766 B
Original Source

import { PluginHeader } from '@/components/plugin' import { pluginGetStaticProps } from '@/lib/plugin-get-static-props' export const getStaticProps = pluginGetStaticProps(__filename)

<PluginHeader />

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:

yaml
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.