bs-graphql-js
v0.6.0
Published
Bindings for [graphql](https://github.com/graphql/graphql-js) and [graphql-relay](https://github.com/graphql/graphql-relay-js) with an API based on [ocaml-graphql-server](https://github.com/andreas/ocaml-graphql-server). Allows for interop between JS and
Downloads
6
Maintainers
Readme
bs-graphql-js
Bindings for graphql and graphql-relay with an API based on ocaml-graphql-server. Allows for interop between JS and Reason/OCaml defined schemas.
Install
npm install bs-graphql-js
# or
yarn add bs-graphql-js
NOTE
As of version 0.6.0 this requires bucklescript 7.0+
TODO
It's missing a lot of things and the implementation is badly typed.
- Union types
- Better type safety for interfaces
- Custom scalar types
- Properly type the implementation (aka remove some Obj.magic :S).
- Examples
- Maybe separate relay stuff in a separate package.
- Tests