node-object-mapper icon indicating copy to clipboard operation
node-object-mapper copied to clipboard

[#80] fix null value check not iterating correctly in arrays

Open zhouwang13 opened this issue 2 years ago • 0 comments

Null values on the source object is only mapped for the first element of an array (when a post-fix operator '?' is used).

Test 102 for issue #41 is now failing because the code returns [null] while the test is expecting null. I don't quiet agree with the expected result.

for further details, refer to #80

zhouwang13 avatar Jan 20 '23 08:01 zhouwang13