GraphQL implementation in Haskell
Go to file
Danny Navarro bb685c9afa Rough implementation of execute
The first end-to-end test taken from `graphql-js` passes but this still
needs to be extended to support more general cases.

- `Data.GraphQL.Schema` has been heavily modified to support the
  execution model. More drastic changes are expected in this module.
- When defining a `Schema` ordinary functions taking fields as input are
  being used instead of maps. This makes the implementation of `execute`
  easier, and, arguably, makes `Schema` definitions more *Haskellish*.
- Drop explicit `unordered-containers` dependency. `Aeson.Value`s and
  field functions should be good enough for now.
2016-01-26 12:43:18 +01:00
Data/GraphQL Rough implementation of execute 2016-01-26 12:43:18 +01:00
tests Rough implementation of execute 2016-01-26 12:43:18 +01:00
.ghci Convenient imports for ghci 2015-09-14 17:02:43 +02:00
.gitignore Adds dist/ dir and cabal sandbox dir and file to gitignore 2015-09-25 19:11:42 -04:00
.travis.yml Add travis support 2015-09-16 10:51:53 +02:00
CHANGELOG.md Version Bump 2015-09-22 14:27:10 +02:00
graphql.cabal Rough implementation of execute 2016-01-26 12:43:18 +01:00
LICENSE Initial commit 2015-09-12 12:54:05 +02:00
README.md Version Bump 2015-09-22 14:27:10 +02:00
Setup.hs Initial commit 2015-09-12 12:54:05 +02:00
stack-7.8.yaml Support ghc-7.8 2015-09-16 10:36:59 +02:00
stack-7.10.yaml Initial stub for a GraphQL and execute 2015-10-17 13:23:49 +02:00
stack.yaml Support ghc-7.8 2015-09-16 10:36:59 +02:00
TODO Version Bump 2015-09-22 14:27:10 +02:00

Haskell GraphQL

Hackage Version Build Status

For now this only provides the data types to represent the GraphQL AST, but the idea is to be a Haskell port of graphql-js. Next releases should include:

  • GraphQL AST
  • Parser for the GraphQL language. See TODO for limitations.
  • Printer for GraphQL. This is not pretty yet.
  • GraphQL Schema AST.
  • Parser for the GraphQL Schema language.
  • Printer for the GraphQL Schema language.
  • Interpreter of GraphQL requests.
  • Utilities to define GraphQL types and schema.

See the TODO file for more concrete tasks.

Contact

Suggestions, contributions and bug reports are welcome.

Feel free to contact on Slack in #haskell on GraphQL. You can obtain an invitation here.