GraphQL implementation in Haskell
Go to file
Eugen Wissner d12577ae71 Define resolvers on type fields
Returning resolvers from other resolvers isn't supported anymore. Since
we have a type system now, we define the resolvers in the object type
fields and pass an object with the previous result to them.
2020-05-29 13:53:51 +02:00
docs/tutorial Define resolvers on type fields 2020-05-29 13:53:51 +02:00
src/Language Define resolvers on type fields 2020-05-29 13:53:51 +02:00
tests Define resolvers on type fields 2020-05-29 13:53:51 +02:00
.gitignore Write contrinbuting guidelines 2020-04-12 08:32:39 +02:00
CHANGELOG.md Define resolvers on type fields 2020-05-29 13:53:51 +02:00
CONTRIBUTING.md Write contrinbuting guidelines 2020-04-12 08:32:39 +02:00
LICENSE Update copyright 2020-01-21 23:27:21 +01:00
package.yaml Define resolvers on type fields 2020-05-29 13:53:51 +02:00
README.md Write contrinbuting guidelines 2020-04-12 08:32:39 +02:00
semaphoreci.sh Parse interface type definition 2020-01-13 08:21:02 +01:00
Setup.hs Initial commit 2015-09-12 12:54:05 +02:00
stack.yaml Define resolvers on type fields 2020-05-29 13:53:51 +02:00

Haskell GraphQL

Hackage Version Build Status License

GraphQL implementation in Haskell.

This implementation is relatively low-level by design, it doesn't provide any mappings between the GraphQL types and Haskell's type system and avoids compile-time magic. It focuses on flexibility instead, so other solutions can be built on top of it.

State of the work

For now this only provides a parser and a printer for the GraphQL query language and allows to execute queries and mutations without the schema validation step. But the idea is to be a Haskell port of graphql-js.

For the list of currently missing features see issues marked as "not implemented".

Documentation

API documentation is available through Hackage.

You'll also find a small tutorial with some examples under docs/tutorial.

Further information

Contact

Suggestions, contributions and bug reports are welcome.

Should you have questions on usage, please open an issue and ask this helps to write useful documentation.

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