Whaally.Domain.Testing 2.0.0-beta.8

This is a prerelease version of Whaally.Domain.Testing.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Whaally.Domain.Testing --version 2.0.0-beta.8                
NuGet\Install-Package Whaally.Domain.Testing -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.Testing" 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.Testing --version 2.0.0-beta.8                
#r "nuget: Whaally.Domain.Testing, 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.Testing as a Cake Addin
#addin nuget:?package=Whaally.Domain.Testing&version=2.0.0-beta.8&prerelease

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

Test helpers to validate the correct functioning of domain implementations.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-beta.9 46 1/6/2025
2.0.0-beta.8 40 1/5/2025
2.0.0-beta.7 60 1/4/2025
2.0.0-beta.6 45 1/2/2025
2.0.0-beta.5 58 12/31/2024
1.0.0 69 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