graphql_parser

AuthorAndreas Garnaes <andreas.garnaes@gmail.com>
Homepagehttps://github.com/andreas/ocaml-graphql-server
Issue Trackerhttps://github.com/andreas/ocaml-graphql-server/issues
MaintainerAndreas Garnaes <andreas.garnaes@gmail.com>
Dependencies
&alcotest
angstrom>= 0.7.0
jbuilder
ppx_sexp_conv>= 0.9.0
sexplib
Availableocaml-version >= "4.03.0"
PublishedJan 19, 2018
Source [http] https://github.com/andreas/ocaml-graphql-server/releases/download/0.5.0/graphql-0.5.0.tbz
b1a640ec1ddc50812deabdced411e0fc
StatisticsInstalled 21 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/graphql_parser/graphql_parser.0.5.0/opam

Servers in OCaml

Build Status

This repo contains a library for creating GraphQL servers in OCaml. Note that the API is still under active development.

Current feature set:

  • [x] Type-safe schema design
  • [x] GraphQL parser in pure OCaml using angstrom (April 2016 RFC draft)
  • [x] Query execution
  • [x] Introspection of schemas
  • [x] Arguments for fields
  • [x] Allows variables in queries
  • [x] Lwt support
  • [x] Async support
  • [x] Example with HTTP server and GraphiQL

GraphiQL Example

Necessary for
graphql
>= 0.4.0