graphql-ppx needs your graphql schema to be available in the form of a
The easiest way to add this to your project is using an
to your backend. You can do this using
ENDPOINT_URL being the URL of your GraphQL endpoint.
graphql-ppx will generate a
.graphql_ppx_cache folder alongside your JSON
schema to optimize parsing performance. If you're using a version control
system, you don't need to check it in.
The next pages will provide further installation instructions whether you are
graphql-ppx with Bucklescript or using Reason Native.