Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2023

Incorrect use of "finalize" token in bsoncxx stream builder example

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • None

      The stream builder example called "topLevelDoc" uses the "finalize" token outside of the one-liner scenario it was meant for, and incorrectly.  Using it in this way results in an empty document instead of the expected populated document.

            Assignee:
            Unassigned Unassigned
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: