kotools/types

๐Ÿ’ฅ Make `EmailAddress.Companion.fromStringOrNull` functions unavailable from Java

LVMVRQUXL opened this issue ยท 0 comments

๐Ÿ“ 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.