Skip to content

Conversation

@lchanmann
Copy link
Contributor

What went wrong?

In #565, we do a deep merge on Object data however if the data is an array deep merge would mutate the data so vm.$set would have no effect.

The typeof operator is kind of inconsistent (i.e. typeof [] === 'object') and we need also array checking to avoid deep merge array data.

@lchanmann
Copy link
Contributor Author

ping @shortdiv, @eddyerburgh

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thanks for the fix

@eddyerburgh eddyerburgh merged commit 934745b into vuejs:dev May 14, 2018
@lchanmann
Copy link
Contributor Author

TY

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.

2 participants