forked from OSS/graphql
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.
Haskell GraphQL
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.
Description
Languages
Haskell
100%