The dumb persistence

I often observe in customers software that the persistence layer contains a lot of logic and even includes validation constraints. Let’s see why this can be a problem.

blog-rebuild-state-domain-1.png