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
Hey @vkarpov15 — we are seeing some strange behavior that I think is related to this issue.
Only in Jest, and on Mongoose v6.12.3, our subdocument arrays are being transformed into objects like the OP posted.
We're seeing this when using the findOneAndUpdate method. Probably happening elsewhere too, but that's where we're seeing it now. We do use transactions, but only when replica sets are available, and our testing does not implement any type of transactions at all.
Does this ring any bells for you?
The text was updated successfully, but these errors were encountered:
Prerequisites
Issue
Copied from #14340 (comment):
Hey @vkarpov15 — we are seeing some strange behavior that I think is related to this issue.
Only in Jest, and on Mongoose v6.12.3, our subdocument arrays are being transformed into objects like the OP posted.
We're seeing this when using the findOneAndUpdate method. Probably happening elsewhere too, but that's where we're seeing it now. We do use transactions, but only when replica sets are available, and our testing does not implement any type of transactions at all.
Does this ring any bells for you?
The text was updated successfully, but these errors were encountered: