Skip to content

#3678 before / after mapping for type using builder should only be kept if they are using the actual type in @TargetType or @MappingTarget - #3716

Merged
filiphr merged 1 commit into
mapstruct:mainfrom
filiphr:3678
Sep 15, 2024
Merged

Conversation

@filiphr

@filiphr filiphr commented Sep 15, 2024

Copy link
Copy Markdown
Member

Fixes #3678

I am not too happy with the fix. There are alternative ways to avoid going through the lifecycle methods twice. However, this is the least invasive way to fix this for 1.6.

What do you think @thunderhook?

…nly be kept if they are using the actual type in `@TargetType` or `@MappingTarget`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@AfterMapping methods are called twice when target uses Lombok @Builder annotation

1 participant