Skip to content

Commit

Permalink
fix(util): fix mergeObject function
Browse files Browse the repository at this point in the history
Currently the mergeObject function has a couple of problems.
E.g. it overrides an input if its value is false and the default
is true. It does not deep merge objects.

Added a test suite that the current function would not pass.
And fixed it.

Signed-off-by: alexzurbonsen <[email protected]>
  • Loading branch information
alexzurbonsen committed Mar 9, 2024
1 parent d05e7f6 commit 4dff3f6
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 21 deletions.
Loading

0 comments on commit 4dff3f6

Please sign in to comment.