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
should that be undefined?
Original: [ { _id: 123, id_content: 111, id_category: 22 } ] New: [ { id_content: 111, id_category: 22 } ] detailedDiff/diff: { added: {}, deleted: { '0': { _id: undefined } }, updated: {} }
[ { _id: 123, id_content: 111, id_category: 22 } ]
[ { id_content: 111, id_category: 22 } ]
{ added: {}, deleted: { '0': { _id: undefined } }, updated: {} }
The text was updated successfully, but these errors were encountered:
Yes, this is the way this module works, it outputs the current value, since _id no longer exists, its current value resolves to undefined.
_id
Sorry, something went wrong.
Yep, I think that's the expected behaviour. The readme deletedDiff example works the same way.
deletedDiff
ok, thanks guys
No branches or pull requests
should that be undefined?
Original:
[ { _id: 123, id_content: 111, id_category: 22 } ]
New:
[ { id_content: 111, id_category: 22 } ]
detailedDiff/diff:
{ added: {}, deleted: { '0': { _id: undefined } }, updated: {} }
The text was updated successfully, but these errors were encountered: