-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Hi
Since upgrading to mongoid 7.3.3, updating an embedded with a hash containing a different _id is skipped. Not sure if this is by design or not, but it wasn't the case prior to this upgrade. Verified with mongoid 7.0.12.
Reason is this change which is a part of this ticket
Is it by design? if so, i suggest it would be listed as a breaking change.
Reproduced in attached gist
Thanks
Boaz
- is related to
-
MONGOID-4812 Allow id to be a regular field in models (not an alias of _id)
- Closed
- related to
-
MONGOID-5228 Allow _ids to be modified in embedded documents
- Closed