Skip to content

fix: UpdateWrapper.ftl doesn't pass targetPropertyName when executing source presence check#3864

Merged
filiphr merged 2 commits intomapstruct:mainfrom
tangyang9464:fix/3809
May 25, 2025
Merged

fix: UpdateWrapper.ftl doesn't pass targetPropertyName when executing source presence check#3864
filiphr merged 2 commits intomapstruct:mainfrom
tangyang9464:fix/3809

Conversation

@tangyang9464
Copy link
Contributor

fix: #3809

I passed in variables such as targetPropertyName and optimized the template format.

… source presence check

Signed-off-by: TangYang <tangyang9464@163.com>
@filiphr filiphr merged commit 3a5c702 into mapstruct:main May 25, 2025
6 checks passed
@filiphr
Copy link
Member

filiphr commented May 25, 2025

Thanks @tangyang9464. I pushed a small polish, just to reduce the amount of files.

@tangyang9464
Copy link
Contributor Author

Thanks @tangyang9464. I pushed a small polish, just to reduce the amount of files.

It's good. Thanks. @filiphr

@tangyang9464 tangyang9464 deleted the fix/3809 branch May 25, 2025 16:12
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.

Conditional mapping with @TargetPropertyName fails for nested update mappings

2 participants