当执行command用Items传值且CommandReturnType.EventHandled的时候就拿不到返回的结果了
Opened this issue · 1 comments
rocleegithub commented
在群好友 @允 遇到了这个问题,我在询问中让提供了日志包括:
//有这样的日志
AggregateRoot publishedVersion updated, aggregateRootTypeName:
//但是这个日志后面没有"CommandReplyAddress"
Received event stream equeue message:
然后我在DefaultEventCommittingService.PublishDomainEventAsync 中
if (eventStream.Items == null || eventStream.Items.Count == 0)
//这个判断不清楚是出于什么目的导致eventStream.Items没有续传processingCommand.Items中的 CommandReplyAddress
{
eventStream.Items = processingCommand.Items;
}
找到了问题所在,望您再确认下
luchaoshuai commented
您好,
感谢您的来信,这是一封自动回复,表示我已经收到了您的邮件并尽快处理。
谢谢,祝您一切顺利!
***@***.*** 谨上