Describe the bug
When a saga handler returns a cascading message and MultipleHandlerBehavior.Separated is enabled, code generation fails.
To Reproduce
See failing test main...scrodde:wolverine:saga-cascading-messagaes-compiler-error
Expected behavior
Cascading messages from saga handlers should work with Separated mode.
Additional context
public async Task Handle(ThingUpdated updated, IMessageContext context)
{
Updates++;
Debug.WriteLine(context.Envelope.Destination);
await context.PublishAsync(new AnotherThingHappened(), new()
{
SagaId = Id.ToString()
});
}