Details
-
Bug
-
Resolution: Unresolved
-
Major
-
4.1.12
-
0
Description
Relevant failing FIT tests:
- BinaryTest.decrementThrowsDocumentNotFoundWhenInitialValueNotSupplied
- BinaryTest.incrementThrowsDocumentNotFoundWhenInitialValueNotSupplied
If the initial value is not set in the options, we set it to 0. It doesn't appear to be possible for the user to provide an input that gets mapped to unset in the core request's initial_value field (which is std::optional).
Attachments
Issue Links
- is duplicated by
-
PYCBC-1580 FIT: Increment/Decrement Operations in binary are creating a document with a value of 0 instead of throwing a "document not found" exception, when initial value is not supplied
- Closed