’It depends’ J
I struggle with this as well, trying to tidy up a big code base. Either you query the owner of the data (tight coupling), or keep a local copy/cache/whatever. (duplication of data and more code). If you go for the local copy, ask yourself if the readmodel really represents the same thing in each service/context. If it does, hosting the same code in different contexts should not be a problem imho. Oth, since you say they are big, maybe they try to cater to many needs? In that case I’d split them up…
/Peter
--
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.