Monday, January 8, 2024

Anti-corruption layer

 Problem

How do you prevent a legacy monolith’s domain model from polluting the domain model of a new service.

Solution

Define an anti-corruption layer, which translates between the two domain models.

No comments:

Post a Comment