-
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 type converters suffixed by OrNull
and OrThrow
for PositiveInt
#155
Milestone
Comments
This was referenced Jul 31, 2023
OrElse
, OrNull
and OrThrow
for PositiveInt
OrNull
and OrThrow
for PositiveInt
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
New builders: 'toPositiveIntOrNull' and 'toPositiveIntOrThrow'. These are not implemented yet.
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
New builders: 'toPositiveIntOrNull' and 'toPositiveIntOrThrow'. These are not implemented yet.
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
New builders: 'toPositiveIntOrNull' and 'toPositiveIntOrThrow'. These are not implemented yet.
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
LVMVRQUXL
added a commit
that referenced
this issue
Sep 21, 2023
OrNull
and OrThrow
for PositiveInt
OrNull
and OrThrow
for PositiveInt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Like discussed in #104, we would like to introduce experimental builders for the
PositiveInt
type that should:null
in case of a failure if the builder is suffixed byOrNull
IllegalArgumentException
in case of a failure if the builder is suffixed byOrThrow
.These builders should work on all platforms and should be declared in the
PositiveInt.kt
file after thetoPositiveInt
function.Their tests should be declared in the
PositiveIntTest
class after thenumber_toPositiveInt_should_fail_with_a_strictly_negative_Int
function.Checklist
PositiveInt.kt
file.Function signatures
Unreleased
section in the CHANGELOG, replacing theYourGitHubProfile
placeholder by your GitHub profile (see an example here).Entry in changelog
git commit -a
command in your terminal with the message below.Commit message
toPositiveIntOrNull
function by resolving the following tasks:git commit -a
command in your terminal with the message below.Commit message
toPositiveIntOrThrow
function by resolving the following tasks:git commit -a
command in your terminal with the message below.Commit message
Maintainers only
The text was updated successfully, but these errors were encountered: