snatch-dev / Chronicle

Implementation of saga pattern for .NET Core
MIT License
398 stars 70 forks source link

Reject method does not work using Chronicle_ 2.0.1 NuGet #34

Closed nicolas-petrou closed 4 years ago

nicolas-petrou commented 4 years ago

Running TestApp (repository's test application) with the Chronicle source code, the application works fine. If you use Chronicle_ NuGet and run TestApp, Reject() does not work as expected.

public Task HandleAsync(Message2 message, ISagaContext context)
        {
            Reject();
            Data.IsMessage2 = true;
            Console.WriteLine("M2 reached!");
            CompleteSaga();
            return Task.CompletedTask;
        }
GooRiOn commented 4 years ago

Had some broken version published somehow. Thx! I've just put 2.0.2 on the NuGet.