You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
documents with select false field which is an object(not mixed type) doesn't update without markModified, even though fields were explicitly selected when querying for document
#8404
It happens on multiple models for us, so i felt like maybe i should report it. I apologize if its a known issue, but my time is scant, far too scant at this particular moment to search through issues to see if its a duplicate.
This is roughly what one such field looks like, as shown here sensitive_field. without calling doc.markModified('sensitive_field'); document is not updated with changes to this field.
The text was updated successfully, but these errors were encountered:
That's because your schema as written defines sensitive_field as a Mixed type. We unfortunately don't support defining type as a POJO. You would need to do this:
It happens on multiple models for us, so i felt like maybe i should report it. I apologize if its a known issue, but my time is scant, far too scant at this particular moment to search through issues to see if its a duplicate.
This is roughly what one such field looks like, as shown here
sensitive_field
. without callingdoc.markModified('sensitive_field');
document is not updated with changes to this field.The text was updated successfully, but these errors were encountered: