module - DDD: Where to Place Domain Events -
i read vernon's book "implementing domain-driven design". couldn't find where put domain event's classes.
- in same namespace aggregates?
- in sub-module
<aggregate-namespace>.events? - or hybird: same namespace physical
eventssubdirectory
it's not big concern nice know of did , how worked out.
thanks in advance!
for service bus messages have separate assembly (being in c# world) along lines of mainnamespace.messages. domain events need go across wire in assembly also.
if, however, intend mapping domain events service bus events domain events in domain assembly.
Comments
Post a Comment