Releases: Moreault/OutWarden
Releases · Moreault/OutWarden
3.0.0
3.0.0-beta1
Full Changelog: https://github.com/Moreault/OutWarden/commits/3.0.0-beta1
2.2.0
What's new
- New
Result<T>
with clearer syntax - Instead of
new TryGetResult<T>(true, value)
ornew TryGetResult<T>(value)
, you can now useResult<T>.Success(value)
- Instead of
new TryGetResult<T>(false)
orTryGetResult<T>.Failure
, you can now useResult<T>.Failure("optional error message")
TryGetResult<T>
is now[Obsolete]
- Implicit casting operators were added to seamlessly convert between
TryGetResult<T>
andResult<T>
to help migrating to the new type
Leaving soon
TryGetResult<T>
will be replaced by Result<T>
in version 3.0.0