To add a bit more details, we broke the "Reference other ARs by ID" rule many times just to make DTO construction easier and we also relied on Hibernate formulas. This all feels very wrong to me and I wanted to know if others ever used a CQRS-like approach (using the write database) in the sense that they bypassed their domain model entirely for queries in favor of querying the database directly?
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@João Bragança I understand this, however the fact is that we have no dedicated read model and we are performing state-based persistence (not EventSourcing). In these conditions, I'm wondering if we would be better off by tweaking the domain model or segregate read and writes operations even though we have no dedicated read database.
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@João Bragança I understand this, however the fact is that we have no dedicated read model and we are performing state-based persistence (not EventSourcing). In these conditions, I'm wondering if we would be better off by tweaking the domain model or segregate read and writes operations even though we have no dedicated read database.
--
Thanks for all your inputs! It reassured me that bypassing the domain model would still be beneficial without a full-fledged CQRS/ES solution in place. The only thing that annoys me a bit is that some domain calculations will probably have to be made in the query side, but I guess we can't easily fight it...