- Schemas that have empty field lists or empty unions will fail much earlier
Enum
handlers are now monadic (see #118)- You must use protolude 0.2.1 or later
Defaultable
must now be imported fromGraphQL.API
, rather thanGraphQL.Resolver
, this movesGraphQL.API
closer to being sufficient for API definition. (see #149)GraphQL.Value.ToValue
andGraphQL.Value.FromValue
modules have been removed. ImportToValue(..)
andFromValue(..)
fromGraphQL.Value
directly.
- Now support GHC 8.2 as well as 8.0.2 and later
- Added support for anonymous queries (thanks @sunwukonga)
Make
Name
an overloaded string that panics if an invalid name is provided.Correctly descend into the type parameter of a
Maybe
. See #119. This is a backwards-incompatible change.A common update would be having to
fmap pure callback
instead of justcallback
forMaybe
handlers.
No code changes.
- Remove
-Werror
in order to upload to hackage
Initial release, support basic handling of GraphQL queries.