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
I am trying to merge two array inside an object but would like to set it to fallback to source in case the target is undefined. Currently this is not doable because the target value in that case always defaults to an empty array.
This change would probably be breaking so it would be good to at least know the original value as the last additional parameter of the arrayMerge fn.
The text was updated successfully, but these errors were encountered:
I am trying to merge two array inside an object but would like to set it to fallback to source in case the target is undefined. Currently this is not doable because the target value in that case always defaults to an empty array.
This change would probably be breaking so it would be good to at least know the original value as the last additional parameter of the arrayMerge fn.
The text was updated successfully, but these errors were encountered: