-
Notifications
You must be signed in to change notification settings - Fork 67
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
doc.isModified() does not work when a nested key is added to a document and the first level key itself does not exist #689
Comments
@s7dhansh probably it's a bug, I will check it |
Fixed in |
@lukejagodzinski thanks. but now it has caused another bug. |
Hehe ehh that's what happens when you release bugfix quickly without testing it :P. Right, sorry I will fix that |
@s7dhansh sorry but in this case changing this behavior would require me to rewrite a lot of diffing algorithm and it can't be easily implemented. I will revert to the previous version. |
I checked your last couple of commits. Won't this work? Updates code (modeled after something that I am using now).
I understand that there will not be just |
@s7dhansh from what I remember using |
doc.isModified('status.active')
works whenstatus
exists as an object, and fails whenstatus
is undefined.Is it intended? Seems to be a bug to me.
The text was updated successfully, but these errors were encountered: