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

Refactor: no unwrap for arrays #110

Merged
merged 1 commit into from
Feb 25, 2021
Merged

Refactor: no unwrap for arrays #110

merged 1 commit into from
Feb 25, 2021

Conversation

snewcomer
Copy link
Collaborator

ref #104
close #109

@snewcomer snewcomer self-assigned this Feb 25, 2021
@snewcomer snewcomer added the enhancement New feature or request label Feb 25, 2021
@snewcomer
Copy link
Collaborator Author

@NullVoxPopuli

} else if (Array.isArray(subContent)) {
subChanges = normalizeObject(subChanges, this.isObject);

return objectToArray(mergeDeep(arrayToObject(subContent), subChanges));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -130,10 +130,6 @@ class ObjectTreeNode implements ProxyHandler {

return changes;
}

toJSON() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@NullVoxPopuli
Copy link
Contributor

looks good! I'm glad this wasn't a lot of code changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants