Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
-
SDK38
Description
Currently an InvalidArgumentException is raised if a MutateIn replace is performed with an empty path. This should not happen, instead it should set the opcode to SET_DOC and replace the whole document
Relevant RFC section:
A blank path specified for a Replace operation must trigger an sub-document op-code change to LCB_SET as opposed to LCB_SUBDOC_DICT_ADD.