๐ฅ Make `EmailAddress.Companion.fromStringOrNull` functions unavailable from Java
LVMVRQUXL opened this issue ยท 0 comments
LVMVRQUXL commented
๐ Description
Because Java doesn't support explicitly nullable types like Kotlin, we want to limit usages of factory functions that may return null
on this platform. This why we want to make the EmailAddress.Companion.fromStringOrNull(Any)
and the EmailAddress.Companion.fromStringOrNull(Any, Any)
experimental functions unavailable from Java code.
๐ Dependencies
This issue is blocked by the following items:
โ Checklist
- ๐ฅ Make the
EmailAddress.Companion.fromStringOrNull(Any)
function unavailable from Java code, then update the unreleased changelog. - ๐ฅ Make the
EmailAddress.Companion.fromStringOrNull(Any, Any)
function unavailable from Java code, then update the unreleased changelog.