Tag Info

New answers tagged

0

If you're using events to transfer data, you can probably treat many of those concerns as simply another kind of data the read-model needs to store and arrange in a convenient way. For example, You'll already want a listener for events like RoomCreated and RoomDisabled from the domain, because you're keeping some sort of fast-to-query representation of ...


2

I would think if your domain objects on the command side are always in a valid state, you shouldn't need to worry that the queries return invalid results. What would you do, anyway, if you discovered an invalidity on the read-side, anyway? Tell the read repository to re-enter the values? ;-) If the read side were to have checking, it would think it would ...



Top 50 recent answers are included