Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
Suggested release note:
Deprecated `ArrayInsert.createPath()`. Calling this method always causes `mutateIn` to throw an exception, because the "array insert" sub-document command does not support creating missing parent objects. If you want to create missing parent objects, please use `MutateInSpec.arrayAppend()` or `arrayPrepend()` instead of `arrayInsert()`.
subdoc mutation arrayInsert shouldn't have createParent(). The server does not allow it.
"The command also has no MKDIR_P variant"
https://docs.google.com/document/d/1vaQJxIA5nhWJqji7X2R1xQDZadb5PabfKAid1kVe65o/edit#