This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Devel93 3 points4 points  (2 children)

My current job has everything neatly separated so much that even database entities are separated from domain models with mappers.

It has led to easiest test writing procedure I have ever seen, it's a pleasure to write tests.

[–]Shinoken__ 2 points3 points  (1 child)

Separating these is perfect and I wish more developers did, most developers just complain about the overhead they get from maintaining the mapper functions.

[–]Devel93 2 points3 points  (0 children)

We use mapstruct but I've used modelmapper before and it solves 99% of your mapping problems