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

✨ Simplify constructors for EmailAddress #677

Closed
4 tasks
LVMVRQUXL opened this issue Jul 14, 2024 · 1 comment
Closed
4 tasks

✨ Simplify constructors for EmailAddress #677

LVMVRQUXL opened this issue Jul 14, 2024 · 1 comment
Labels
common Item related to all platforms. feature New feature or request.

Comments

@LVMVRQUXL
Copy link
Contributor

πŸ“ Description

Similarly to the issue #676, we want to provide only constructors for creating an instance of the EmailAddress type in a natural way. These constructors should be available for all Kotlin platforms and Java.

Here's the Application Programming Interface (API) goal for this issue:

class EmailAddress {
    constructor(text: Any)
    constructor(text: Any, pattern: Any)
}

These constructors should replace all factory functions introduced previously for the EmailAddress type.

βœ… Checklist

  • ✨ Add the constructor(Any) function with tests, documentation and samples.
  • ✨ Add the constructor(Any, Any) function with tests, documentation and samples.
  • πŸ”₯ Remove all other factory functions for the EmailAddress type.
  • πŸ“ Update the unreleased changelog for this issue.
@LVMVRQUXL LVMVRQUXL added feature New feature or request. common Item related to all platforms. labels Jul 14, 2024
@LVMVRQUXL LVMVRQUXL added this to the 4.5.2 milestone Jul 14, 2024
@LVMVRQUXL
Copy link
Contributor Author

Superseded by #681.

@LVMVRQUXL LVMVRQUXL closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@LVMVRQUXL LVMVRQUXL removed this from the 4.5.2 milestone Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Item related to all platforms. feature New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant