Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where non-instances were attempted to be merged as instances #8

Merged
merged 1 commit into from
May 3, 2018

Conversation

JaapRood
Copy link
Owner

@JaapRood JaapRood commented May 3, 2018

Quick fix to a small mistake in determining the right logic for the deep merging. While working with a model that started off with null as the value for an instance, a deep merge threw an exception. Upon closer inspection, mergeDeep should respect instanceOf defined for a type.

@JaapRood JaapRood merged commit 4ac5d61 into master May 3, 2018
@JaapRood JaapRood deleted the fix/merge-deep branch May 3, 2018 04:28
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