Skip to content

v0.71.3834

Compare
Choose a tag to compare
@rasmus rasmus released this 17 Apr 17:24
25d4f04
  • 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)