I’ve created a type-safe and simple GraphQL library for ReasonML.
Here’s the link: https://github.com/sainthkh/reasonql.
Some of you might be thinking why we need another GraphQL client while we have awesome graphql_ppx and reason-apollo.
There are several reasons but the major one is that graphql_ppx defines the result in Js.t() type. Because of that, we cannot take full advantage of pattern matching, spread syntax, nicer error messages.
reasonql compiler directly translates result into reasonml records and you can get all those benefits.
If you want to learn more about how to use it, please check the link above.