Skip to content

Fixing incorrect mapping generation when ShallowCopyForSameType, UseDestinationValue and UseDestinationValue are used#601

Merged
andrerav merged 2 commits intoMapsterMapper:masterfrom
rafalka:bugfix/600-fixing-ShallowCopyForSameType-UseDestinationValue-UseDestinationValue-interactions
Jun 27, 2023
Merged

Fixing incorrect mapping generation when ShallowCopyForSameType, UseDestinationValue and UseDestinationValue are used#601
andrerav merged 2 commits intoMapsterMapper:masterfrom
rafalka:bugfix/600-fixing-ShallowCopyForSameType-UseDestinationValue-UseDestinationValue-interactions

Conversation

@rafalka
Copy link

@rafalka rafalka commented Jun 27, 2023

This PR Resolves #599 and resolves #600.

Originally the destination transform was applied also when destination value was used creating not-compilable code.

Also when UseDestinationValue and ShallowCopyForSameType were set, then were not called and mapping was not generated

Rafał Kukla added 2 commits June 27, 2023 15:48
…estinationValue and UseDestinationValue are used

Originally the destination transform was applied also when destination value was used creating not-compilable code.

Also when `UseDestinationValue` and `ShallowCopyForSameType` were set, then were not called and mapping was not generated
@andrerav andrerav merged commit 9feaad3 into MapsterMapper:master Jun 27, 2023
@andrerav
Copy link
Member

Nice work! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants