Skip to content

Releases: clawfoot-software/Clawfoot.Status

v1.1.6

05 Feb 02:11
Compare
Choose a tag to compare

Fix ambiguous invoke methods

Add tests for this.

v1.1.5

05 Feb 01:48
Compare
Choose a tag to compare

fix: Add non-async unwrapped status invoker

v1.1.4

05 Feb 01:22
Compare
Choose a tag to compare
  • Fixes issues with ambigious methods
  • Add .Do() chainable methods for ease-of-use

v1.1.0

20 Dec 04:28
Compare
Choose a tag to compare
  • Can now implicitly convert a Status to a Status
  • Can now implicitly convert a TResult to a Status

This means that we no longer need to end methods with return Status.AsSuccess(result); we can simply return result; instead. This requires we have a return type of Status<T> instead of IStatus<T> with the same restrictions as IActionResult vs ActionResult from Asp.Net Core.

Similarly for returning an error status from a generic method, we no longer have to include the generic parameter as an implicit cast exists.

v1.0.2

20 Dec 04:27
Compare
Choose a tag to compare

Adds more concise .Ok() alternative to .AsSuccess()

v1.0.1

09 Dec 02:32
Compare
Choose a tag to compare
  • Change ConvertTo to be To
  • Change AsGeneric to be As

v1.0.0

09 Dec 01:54
Compare
Choose a tag to compare

Refactors method names to be less verbose and reorganizes classes