Use EmailAddress from email-validate in your DB

[[ 🗃 ^4oRNo persistent-email-address ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Changes]

Clone

HTTPS: darcs clone https://vervis.peers.community/repos/4oRNo

SSH: darcs clone USERNAME@vervis.peers.community:4oRNo

Tags

TODO

README.md

persistent-email-address

This tiny library provides PersistField and PersistFieldSql instances for the EmailAddress type from email-validate package, allowing EmailAddress to be used as a field type in persistent models:

Person
    login          Text
    name           Text Maybe
    passphraseHash ByteString
    email          EmailAddress

    UniquePersonLogin login
    UniquePersonEmail email
[See repo JSON]