Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built-in EmailAttr type #16

Closed
paulcsmith opened this issue Aug 1, 2018 · 1 comment
Closed

Add built-in EmailAttr type #16

paulcsmith opened this issue Aug 1, 2018 · 1 comment

Comments

@paulcsmith
Copy link
Member

Validate valid email, downcase, etc.

Similar to:

@paulcsmith paulcsmith changed the title Add built-in LuckyRecord::Email type Add built-in LuckyRecord::EmailAttr type Aug 1, 2018
@paulcsmith paulcsmith transferred this issue from luckyframework/lucky_record Feb 2, 2019
@matthewmcgarvey matthewmcgarvey changed the title Add built-in LuckyRecord::EmailAttr type Add built-in EmailAttr type Dec 26, 2020
@jwoertink
Copy link
Member

We now support case insensitive String columns which are default for the User model on email column that we ship with Lucky. As for email validations, those are beyond difficult to get 100% right. Check out the Ruby example.... If you get real close, squint your eyes, and slowly move backwards you may see a picture of a dolphin riding a jetski.

Instead of a specific Email type, we just need to focus on custom types in general #497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants