-
Notifications
You must be signed in to change notification settings - Fork 6
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
✨ New NotBlankString.Companion.create*
factory functions
#341
Comments
NotBlankString
NotBlankString
This comment was marked as outdated.
This comment was marked as outdated.
NotBlankString
of
for NotBlankString
of
for NotBlankString
NotBlankString
NotBlankString
NotBlankString.Companion.from
NotBlankString.Companion.from
NotBlankString.Companion.create*
factory functions
We should wait for the issue #371 to be resolved before implementing this one. |
This function is currently experimental and not available for Java users due to the declaration of NotBlankString as inline value class. Refs: #341, https://kotlinlang.org/docs/inline-classes.html
This commit updates the documentation of the 'create(Any?)' and the 'createOrNull(Any?)' functions of the 'NotBlankString.Companion' type. Refs: #341
NotBlankString.Companion.create*
factory functionsNotBlankString.Companion.create*
factory functions
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was moved to the #541 issue. |
📝 Description
We would like to add
create*
experimental factory functions to theNotBlankString.Companion
type for all platforms with the following signature:The
NotBlankString
type being incompatible with Java due to its declaration as inline value class, these functions shouldn't be available for Java users.✅ Checklist
create
function, document it, test its behavior with Kotlin, update the public API binaries and the unreleased changelog.createOrNull
function, document it, test its behavior with Kotlin, update the public API binaries and the unreleased changelog.The text was updated successfully, but these errors were encountered: