-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Map object to object #244
Comments
Hi @ma-abdn thanks for the feature request. I understand this request completely and I notice it's something available in the AutoMapper .NET as well which qualifies the request a valid request. However due to reasons stated here #243 , I won't be adding this feature to |
@ma-abdn I'm reopening this to clarify. When we run |
It will more practical if the |
@ma-abdn So we're on the same page here. Do you expect to have this functionality for |
Not necessary. the map do the job. |
1.0.0-beta.6 has been released. Please try it out: map(sourceObj, destination, source, destinationObject)
mapAsync(sourceObj, destination, source, destinationObject) Above snippet is the API to have this map mutate functionality. Please test it out and let me know. If you run into any issue, please open a new issue :) |
I'm submitting a...
The map function accept a source object and the definition of Source and Destination
It would be great if there is another map function that accept the source object + destination object.
My goal is instead of map source object to a new created destination, you map the source object to an existant destination object (so it will be updated)
The text was updated successfully, but these errors were encountered: