Typesafe GraphQL operations and fragments in ReasonML
Language level GraphQL primitives
graphql-ppx offers language level GraphQL primitives within ReasonML using a compiler preprocessor extension. This means you have a simple syntax to define queries, mutations and fragments in your ReasonML project.
Building block for GraphQL clients
graphql-ppx automatically generates types, and parse/serialize functions for converting GraphQL data and arguments to idiomatic ReasonML data structures. This provides a building block for GraphQL clients in the ReasonML ecosystem.
100% type safe!
With graphql-ppx your project is completely type safe. Types are generated from the GraphQL schema of your backend. This means that no runtime errors occur when working with server data. And if a schema change breaks your app, your app simply won't compile!