This repo is for making use of graphql-codegen to generate files. The main benefits are:
- Rescript 11 support - this is written in v11, so no worries about uncurried mode.
- 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.
- 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.