You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking: Commands published from AggregateSaga which return false
in IExecutionResult.IsSuccess will newly lead to an exception being thrown.
For disabling all new changes just set protected property AggregateSaga.ThrowExceptionsOnFailedPublish to false in your AggregateSaga constructor.
Also an Exception thrown from any command won't prevent other commands from being executed.
All exceptions will be collected and then re-thrown in SagaPublishException (even in case
of just one Exception). The exception structure is following:
SagaPublishException : AggregateException
.InnerExceptions
CommandException : Exception
.CommandType
.SourceId
.InnerException # in case of an exception thrown from the command
CommandException : Exception
.CommandType
.SourceId
.ExecutionResult # in case of returned false in IExecutionResult.IsSuccess
You need to update your ISagaErrorHandler implementation to reflect new exception structure,
unless you disable this new feature.
Fix: MongoDB read store no longer throws an exception on non-existing read models (#625)