@hackage / elm-export-persistent

elm-export persistent entities

Latest1.0.0

About

Metadata

  • Last updated , by WilliamCasarin
  • License MIT
  • Categories Web Development, Databases
  • Maintained by: bill@casarin.me

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.10.3
  2. 8.2.2
  3. 8.0.2
  4. 7.10.3

Readme

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.