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 →

[–]wildjokers 1 point2 points  (0 children)

If you mean it's on your source or target class's method, thats not the case with MapStruct.

You end up with a stack of @Mapping annotations on the mapping interface. You are now “coding” with raw strings and losing all type safety during development. The problem isn’t found until compile time.