Skip to content

CQRS-Muflone/Muflone.Saga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Muflone.Saga

Basic implementation of a saga (not event sourced at the moment)

Install

Install-Package Muflone.Saga

Breaking change in version 8.1.2

Inside the Saga implementation we integrated IStartedBy to avoid error by forgotting to implement it

So, for example, the code changes from

public class MySaga : Saga<MySaga.MyData>, IStartedBy<FakeStartingCommand>, ISagaEventHandlerAsync<FakeResponse>, ISagaEventHandlerAsync<FakeResponseError>`

to

public class MySaga : Saga<FakeStartingCommand, MySaga.MyData>,     ISagaEventHandlerAsync<FakeResponse>, ISagaEventHandlerAsync<FakeResponseError>

and the implementation of the interface changes feom

public async Task StartedByAsync(FakeStartingCommand command)
{
}

to

public override async Task StartedByAsync(FakeStartingCommand command)
{
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages