You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And we will get an undefined property error because ResponseDescription is not guaranteed to exist in the source.
But if data is an array, the generated code looks like this:
With this code, mapper will generate code like this:
And we will get an undefined property error because ResponseDescription is not guaranteed to exist in the source.
But if data is an array, the generated code looks like this:
So when source is an object and target property is nullable or has default value we need to do this:
Also, array code can be rewritten too
And I can work on implementation myself, I already did some testing
The text was updated successfully, but these errors were encountered: