Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1770

Rescript bindings for Graphql Codegen

$
0
0

This repo is for making use of graphql-codegen to generate files. The main benefits are:

  1. Rescript 11 support - this is written in v11, so no worries about uncurried mode.
  2. Transparency - you make graphql files, this generates rescript files. To your average user, the process is much better about ‘showing its work’ without reaching into the guts of ppx.
  3. Customizability - This also provides types to create your own codegen plugins, so if you have a specialized use case, you can write a rescript plugin to generate code for it (that’s the main appeal for me)

This is very much a work in progress, so expect some weirdness if you’re going to try using it now.


Viewing all articles
Browse latest Browse all 1770

Trending Articles