This version can be pinned in stack with:graphql-spice-1.0.3.0@sha256:62bebec009be978dcef76034d8140544644bffba758ad732714e4c3fa2638e55,2095
Module documentation for 1.0.3.0
Depends on 15 packages
(full list with versions):
aeson,
base,
conduit,
containers,
exceptions,
graphql,
hspec-expectations,
megaparsec,
scientific,
template-haskell,
text,
time,
transformers,
unordered-containers,
vector Various extensions and convenience functions for the core
graphql package.
Changelog
All notable changes to this project will be documented in this file.
The format is based on
Keep a Changelog,
and this project adheres to
Haskell Package Versioning Policy.
Added
- Add
deriveToGraphQL
for deriving ToGraphQL
instances automatically.
- Add
deriveFromGraphQL
for deriving FromGraphQL
instances automatically.
Added
ToGraphQL
and FromGraphQL
instances for Word
types, Float
, Double
,
and Scientific
.
ToGraphQL
and FromGraphQL
instances for Day
, DiffTime
,
NominalDiffTime
, UTCTime
, LocalTime
and TimeOfDay
.
Resolver
: Export ServerException
.
Resolver.defaultResolver
: Throw FieldNotResolvedException
if the requested
field is not in the parent object.
Added
ToGraphQL
and FromGraphQL
typeclasses with instances for basic types.
Resolver
module with argument
and defaultResolver
helper functions.
1.0.0.0 - 2022-03-29
Added
- JSON serialization.
- Test helpers.