Skip to content

Releases: wintoncode/Winton.DomainModelling.Abstractions

2.0.0

18 Jan 14:24
efede0d
Compare
Choose a tag to compare

Changes

  • Updated to target netstandard2.1
  • Use C#10 language features
  • Updated test project to .NET6.0
  • Use Github actions for build pipeline
  • Removed DomainException and all sub-classes.

1.4.0

23 Aug 15:41
Compare
Choose a tag to compare

New Features

  • New ConflictError extending Error to indicate the action cannot be completed due to the existence of a conflicting entity.

1.3.0

19 Aug 09:22
3fc8e84
Compare
Choose a tag to compare

New Features

  • Added Catch method to Result as a counter to Then to make it simpler to handle errors by allowing the client to use the Error to generate a different Result.
  • Added OnFailure to Result as a counter to OnSuccess to make it simple to take an action on a Failure.
  • Added SelectError to Result as a counter to Select to make it simpler to project errors to a different format in the case of a Failure.

1.2.0

15 Apr 07:20
33dab61
Compare
Choose a tag to compare

New Features

  • Added Result<TData> to allow domain operations to return errors instead of throwing exceptions.

Deprecations (Will be removed in 2.0)

  • Deprecated DomainException and all sub-classes. Result<TData> should be used now and in the case of a failure a Failure<TData> which contains an appropriate Error should be returned as the concrete result.

1.1.0

15 Apr 07:16
6841677
Compare
Choose a tag to compare

First open source release