This version can be pinned in stack with:graphql-spice-1.0.4.0@sha256:2bb42a9782e547a59410c6271983c479f3f740e13da0b30658118ac0e7614e44,2215
Module documentation for 1.0.4.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
gql
quasi quoter which generates a string literal with the first line
starting at the first column and all following lines indented relative to the
first line.
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.
Stackage is a service provided by the
Haskell Foundation
│ Originally developed by
FP Complete