-
-
Notifications
You must be signed in to change notification settings - Fork 496
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
Mongodb driver doesn't detect deep updates #5572
Comments
Interesting, thanks for a failing repro, I remember several cases like this and this one might be the first valid case actually. Workaround for now is to reassign the whole object value: usr2.a = { b: 100 }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Changes in nested objects are not detected when flushing with the mongodb driver. (The same test seems to work fine with the sqlite driver, though.)
Reproduction
https://github.com/briankchan/mikro-orm-bug-mongodb-deep
What driver are you using?
@mikro-orm/mongodb
MikroORM version
tested on 6.2.2 and 6.2.7-dev.0
Node.js version
v20.12.2
Operating system
No response
Validations
The text was updated successfully, but these errors were encountered: