Skip to content

feat: Add recursive deep merge function#3

Draft
craigsloggett wants to merge 8 commits intomainfrom
add-deep-merge-function
Draft

feat: Add recursive deep merge function#3
craigsloggett wants to merge 8 commits intomainfrom
add-deep-merge-function

Conversation

@craigsloggett
Copy link
Owner

This function duplicates the existing behavior of the merge function, and supplements it with recursive scanning to child objects. This fixes scenarios where you may want to do a partial update of a nested object, but the current merge function can't perform it due to it only operating at the root level. Any type can be overridden with a different type by a later map/object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant