✨ New EmailAddress
type
#55
Replies: 5 comments 11 replies
-
Thank you for suggesting this new type @MichaelStH! Here's an article that could help for defining an email address. I have several questions:
"user" at "example.com" // 1 - returns an Email
"user@example.com".toEmail() // 2 - returns a Result<Email> because the String could be invalid
|
Beta Was this translation helpful? Give feedback.
-
It feels like the naming of the type suggested by @MichaelStH is not accurate. |
Beta Was this translation helpful? Give feedback.
-
The API of this new |
Beta Was this translation helpful? Give feedback.
-
@MichaelStH For your information, we have created the issue #339 for introducing the type |
Beta Was this translation helpful? Give feedback.
-
We are reopening this discussion for tracking issues related to this project of adding the
This discussion will be closed as completed after completing issues listed above. |
Beta Was this translation helpful? Give feedback.
-
Suggesting to create a new type Email handling email string, regex pattern
Beta Was this translation helpful? Give feedback.
All reactions