We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, there is an issue when diffing and patching an object where the types of a field changes from an object to a string.
That is, I would expect the following to work:
var a = {hello: {nested: 2}}; var b = {hello: 3}; var changeset = diff(a, b); var b_ = diff.apply(changeset, a); expect(b).to.deep.equals(b_);
However, b_ is set to {hello: {}} following the above operations.
b_
{hello: {}}
The text was updated successfully, but these errors were encountered:
Check both the types of old and new values. Fixes eugeneware#8
a444ff2
No branches or pull requests
Currently, there is an issue when diffing and patching an object where the types of a field changes from an object to a string.
That is, I would expect the following to work:
However,
b_
is set to{hello: {}}
following the above operations.The text was updated successfully, but these errors were encountered: