-
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
Deprecation of factory functions using Result
#263
Comments
LVMVRQUXL
added
feature
New feature or request.
common
Item related to all platforms.
labels
Oct 21, 2023
This was referenced Oct 21, 2023
We should split this issue by type. |
LVMVRQUXL
changed the title
Deprecation of type converters using
Deprecation of type converters using Oct 29, 2023
Result
with warning levelResult
11 tasks
LVMVRQUXL
changed the title
Deprecation of type converters using
Deprecation of factory functions using Oct 31, 2023
Result
Result
The discussion #315 and its related issues will not be implemented. |
We will integrate this issue in the idea #335, but we should split this issue by type for more granularity. |
This have been separated by types. See the topic #587. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Like discussed in #315, we would like to deprecate the factory functions using the Result type with a warning level.
The deprecation notices should suggest to use the public constructor of the target type instead, and should indicate that these warnings will be errors in the next minor release (see issue #265).
Finally, we should update the documentation about our design goals on error handling by explaining how we manage possible errors instead of using the Result type.
Dependencies
This issue is blocked by the following ones:
create*
for stable types #321Checklist
NegativeInt
NonZeroInt
PositiveInt
StrictlyNegativeInt
StrictlyPositiveDouble
StrictlyPositiveInt
NotBlankString
NotEmptyList
NotEmptyMap
NotEmptySet
The text was updated successfully, but these errors were encountered: