Latest on Hackage:0.3.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

Apache licensed by Jonathan M. Lange, Tom Hunger

Implement GraphQL servers in Haskell.

Provides a Servant-like type-based API for defining GraphQL schemas and implementing handlers for those schemas.

See for more details.


graphql-api changelog

0.3.0 (2018-02-08)

Breaking changes

* ``Enum`` handlers are now monadic (see `#118`_)
* You must use protolude 0.2.1 or later
* ``Defaultable`` must now be imported from ``GraphQL.API``, rather than ``GraphQL.Resolver``,
this moves ``GraphQL.API`` closer to being sufficient for API definition. (see `#149`_)


* Now support GHC 8.2 as well as 8.0.2 and later
* Added support for anonymous queries (thanks `@sunwukonga`_)

.. _`#118`:
.. _`#149`:
.. _`@sunwukonga`:

v0.2.0 (2017-10-12)

* Make ``Name`` an overloaded string that panics if an invalid name is
* Correctly descend into the type parameter of a ``Maybe``. See
This is a backwards-incompatible change.

A common update would be having to ``fmap pure callback`` instead of just ``callback``
for ``Maybe`` handlers.

v0.1.0 (2017-01-30)

No code changes.

* Remove ``-Werror`` in order to upload to hackage

v0.1.0 (2017-01-29)

Initial release, support basic handling of GraphQL queries.
comments powered byDisqus