Value Objects in CQRS - where to use

前端 未结 5 656
甜味超标
甜味超标 2021-01-30 00:00

Let\'s say we have CQRS-inspired architecture, with components such as Commands, Domain Model, Domain Events, Read Model DTOs.
Of course, we can use Value Objects in our Dom

5条回答
  •  青春惊慌失措
    2021-01-30 00:12

    Similar to other answers, in SOA this would break encapsulation of the service as the domain is now leaking out.

提交回复
热议问题