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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: