MPL-2.0 licensed by Eugen Wissner
Maintained by [email protected]
This version can be pinned in stack with:graphql-spice-1.0.3.0@sha256:62bebec009be978dcef76034d8140544644bffba758ad732714e4c3fa2638e55,2095

Module documentation for 1.0.3.0

Various extensions and convenience functions for the core graphql package.

Changes

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.

1.0.3.0 - 2024-07-20

Added

  • Add deriveToGraphQL for deriving ToGraphQL instances automatically.
  • Add deriveFromGraphQLfor deriving FromGraphQL instances automatically.

1.0.2.0 - 2023-07-07

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.

1.0.1.0 - 2023-02-17

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.