eg projects
Handler/ Facsade ( references all others)
DataInfrastructure (Repository<T> , references domains - you
can do it without it eg with a factory function Func<IAggregate>
so only handler has access to the domains )
SqlData
DomainInfrastructure ( basically IEvent , IAggregate and some saga helpers , does not reference other projects)
DomainA Just aggregates and entities ( references only Domain infrastructure and events)
DomainB Just aggregates and entities ( references only Domain infrastructure and events)
SharedEvents
CrudDomain (uses DataInfrastructure)
ReadDomainA (uses DataInfrastructure)
ReadDomainB
No comments:
Post a Comment