MPL-2.0 licensed by Eugen Wissner
Maintained by [email protected]
This version can be pinned in stack with:graphql-spice-1.0.4.0@sha256:2bb42a9782e547a59410c6271983c479f3f740e13da0b30658118ac0e7614e44,2215

Module documentation for 1.0.4.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.4.0 - 2024-10-24

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.

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.