elm-export-persistent

elm-export persistent entities https://github.com/jb55/elm-export-persistent

Latest on Hackage:0.2.0

See all snapshots elm-export-persistent appears in

MIT licensed by William Casarin
Maintained by bill@casarin.me

Module documentation for 0.2.0

This version can be pinned in stack with:elm-export-persistent-0.2.0@sha256:d2f148a816530ff96dec60581ce7c8f89cd2c4620587259629761088eeab8c7b,1491

Ent is a newtype that wraps Persistent Entity's, allowing you to export them to Elm types. Specifically, it adds a To/From JSON instance which adds an id field, as well as an ElmType instance that adds an id field constructor.

Changes

Revision history for elm-export-persistent

0.2.0 – 2018-03-12

  • Fixed compilation issue with missing ToJSON constraint on Entity keys

0.1.2 – 2017-02-07

  • Fixed bug with missing id field from single field tables

0.1.0.0 – 2016-12-12

  • First version. Released on an unsuspecting world.