-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
(From what we can tell) TransactionsUtil. deepCopyObject is how some of the jstests do deep copies of objects.
This article outlines what we discovered as a side effect of shallow copying in javascript.
It would be nice for this helper method to be separated from Transactions util (or to be pointed to a more preferable method of deep copying for our codebase).
- is related to
-
SERVER-40425 fix Object.extend() for all custom javascript objects
- Backlog
- related to
-
SERVER-50501 Move TransactionsUtil.deepCopyObject to a more generic library
- Backlog