Hi,
We are thinking of publishing events in application service instead of applying them in Aggregate, so the domain code won’t dependent on frameworks.
Is there any drawback of doing this? cause it seems not recommended in axon. And is eventbus.publish(GenericEventMessage.asEventMessage(event)) the same as AggregateLifecycle.apply(event)?
there’s some discussion about this approach https://blog.jayway.com/2013/06/20/dont-publish-domain-events-return-them/
Best regards,