Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • You are right it is a convoluted and complex invariant. It has its roots in data integrity and consistency for reports to different governmental institutions and internal statistics. If this invariant is removed the depending systems will have a very hard time presenting consistent data that the user can follow (which is the current situation we're moving away from). I really like option two. I can have the application service retrieve the data and pass to the domain object / service. Something like my third suggestion. Thank you! Commented Jan 21, 2019 at 23:17