Whaally.Domain.Abstractions 2.0.0-beta.8

This is a prerelease version of Whaally.Domain.Abstractions.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Whaally.Domain.Abstractions --version 2.0.0-beta.8                
NuGet\Install-Package Whaally.Domain.Abstractions -Version 2.0.0-beta.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Whaally.Domain.Abstractions" Version="2.0.0-beta.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Whaally.Domain.Abstractions --version 2.0.0-beta.8                
#r "nuget: Whaally.Domain.Abstractions, 2.0.0-beta.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Whaally.Domain.Abstractions as a Cake Addin
#addin nuget:?package=Whaally.Domain.Abstractions&version=2.0.0-beta.8&prerelease

// Install Whaally.Domain.Abstractions as a Cake Tool
#tool nuget:?package=Whaally.Domain.Abstractions&version=2.0.0-beta.8&prerelease                

Interface definitions underpinning the Whaally.Domain library.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Whaally.Domain.Abstractions:

Package Downloads
Whaally.Domain

Decouple domain model from infrastructure allowing independent evolution of both.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-beta.9 93 1/6/2025
2.0.0-beta.8 50 1/5/2025
2.0.0-beta.7 61 1/4/2025
2.0.0-beta.6 49 1/2/2025
2.0.0-beta.5 85 12/31/2024
1.0.0 100 12/31/2024

# [2.0.0-beta.8](https://github.com/Whaally/Domain/compare/v2.0.0-beta.7...v2.0.0-beta.8) (2025-01-05)


### Bug Fixes

* add a transaction id to evaluations from the domain context ([43d3f29](https://github.com/Whaally/Domain/commit/43d3f29da823d5e8380c2956928d93572057cd50))


* refactor the IAsyncEnumerable out of the saga ([3ebdc28](https://github.com/Whaally/Domain/commit/3ebdc285084dea1b3fe5c3939bc475c434db8349))
* refactor IAsyncEnumerable out of the service handler context ([48d5d12](https://github.com/Whaally/Domain/commit/48d5d12b2d70584cd5651a1655c9fb8f788641be))
* Rename the handle method of a service to "invoke". ([383a1e3](https://github.com/Whaally/Domain/commit/383a1e3f422a4ad85d50d45b36e8ee3db35efc29))


### Features

* refactor command handlers to return an IEnumerable<IReason> instead of an IResultBase instance. ([bd2c2f5](https://github.com/Whaally/Domain/commit/bd2c2f5220f8eb005a5036e5b19a0e026957aed1))
* refactor IReason return out of the ICommandHandler.Evaluate method ([12a4a09](https://github.com/Whaally/Domain/commit/12a4a09c6d6130906b19388bdb217bb2ce17074b))
* refactor the saga handler to return an IAsyncEnumerable containing IReasons ([e27f095](https://github.com/Whaally/Domain/commit/e27f0954a42222d7008345d77f4e7f319c5a7a52))
* refactor the service handler evaluate method to return an IAsyncEnumerable containing IReason implementations rather than an IResultBase implementation. ([7325de7](https://github.com/Whaally/Domain/commit/7325de7311ac6eeb1227e0aa235860e4fd314e10))


### BREAKING CHANGES

* The ISaga.Evaluate no longer accepts an IAsyncEnumerable<IReason> as return value. Add reasons through the context.Result property instead.
* The IServiceHandler.Invoke method no longer accepts an IAsyncEnumerable containing reasons. These should be applied to the context.Result property.
* Command handlers should now attach result or reason information to the context.Result property.
* IServiceHandler.Handle renamed to IServiceHandler.Invoke. Naming in handler context objects has changed as well.
* The ISaga.Evaluate now returns a IAsyncEnumerable<IReason> rather than a Task<IResultBase>
* The IServiceHandler.Evaluate method should now return a IAsyncEnumerable<IReason> rather than a Task<IResultBase>
* ICommandHandler implementations now have to return a IEnumerable<IReason> rather than a IResultBase instance