Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

th3rdwave/bs-graphql-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bs-graphql-js

NO LONGER MAINTAINED

We do not use Reason at Th3rdwave anymore so this repo is no longer maintained.

Bindings for graphql and graphql-relay with an API based on ocaml-graphql-server. Allows for interop between JS and Reason/OCaml defined schemas.

npm version CircleCI

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