@hackage elm-export-persistent1.0.0
elm-export persistent entities
Categories
License
MIT
Maintainer
bill@casarin.me
Links
Versions
Installation
Tested Compilers
Dependencies (7)
- aeson
- base >=4.8 && <5
- elm-export
- persistent
- scientific
- text Show all…
Dependents (1)
@hackage/acme-everything
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.