-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Mapping with both null and undefined #215
Comments
@kami4ka Sorry for getting back to you this late. Thanks for the kind words. And thanks for reporting the issue. As of the moment, it's not possible unfortunately. It's either I'll look into this as soon as I am settled with the new job (not an excuse but that's why I've been away, I took on a new offer 😉) |
@nartc Thanks for the response. Can you please suggest if it's possible somehow to fix the behavior locally? |
@kami4ka I'm thinking that it's possible and probably is going to require some work. If you could provide a sample repo then I can jump in and hack at it. |
Hi, @nartc . Any updates regarding this issue? Can I somehow help/contribute? |
Would love to see this feature too, I can help if needed |
Closing this due to #243 . I won't be adding this to the current @nartc/automapper as stated in the announcement. That said, this will be available in the new version. Sorry for any inconvenience. |
This mapper is the most powerful and maintained that I've seen and I appreciate all the job done.
I have a question regarding this mapper.
My app architecture consists of 3 layers: API, domain and database.
While using PATCH I'd like to be able to differentiate
null
andundefined
on the database layer entities.So my question: is it possible to keep
undefined
properties asundefined
andnull
properties asnull
while mapping?The text was updated successfully, but these errors were encountered: