Skip to content

Releases: Moreault/OutWarden

3.0.0

23 Sep 19:26
d4ac3ed
Compare
Choose a tag to compare

Breaking

  • TryGetResult<T> has been removed. Use Result<T> instead

3.0.0-beta1

29 Aug 00:09
Compare
Choose a tag to compare

2.2.0

11 Jan 17:17
c7b6533
Compare
Choose a tag to compare

What's new

  • New Result<T> with clearer syntax
  • Instead of new TryGetResult<T>(true, value) or new TryGetResult<T>(value), you can now use Result<T>.Success(value)
  • Instead of new TryGetResult<T>(false) or TryGetResult<T>.Failure, you can now use Result<T>.Failure("optional error message")
  • TryGetResult<T> is now [Obsolete]
  • Implicit casting operators were added to seamlessly convert between TryGetResult<T> and Result<T> to help migrating to the new type

Leaving soon

TryGetResult<T> will be replaced by Result<T> in version 3.0.0