Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add destination parameter to before and after mapping delegates #437

Merged
merged 1 commit into from
Jun 27, 2022
Merged

Add destination parameter to before and after mapping delegates #437

merged 1 commit into from
Jun 27, 2022

Conversation

devbased
Copy link
Contributor

@devbased devbased commented May 9, 2022

I have noticed that the result object is different from the destination but I have no way to do anything about it. So I thought it would be useful to pass the destination parameter to (before|after)mapping delegates.
It could help with cases like #430

@andrerav andrerav merged commit 1de2be1 into MapsterMapper:master Jun 27, 2022
@andrerav
Copy link
Contributor

Thank you @devbased! This is a solid contribution. Do you have time to update the wiki @ https://github.com/MapsterMapper/Mapster/wiki/Before-after-mapping so it's up to date with this functionality?

@andrerav
Copy link
Contributor

This is now available in the latest pre-release package.

@devbased
Copy link
Contributor Author

@andrerav Wiki updated

@andrerav
Copy link
Contributor

@devbased Excellent, looks great! Thank you very much! :)

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.

2 participants