[CXX-2023] Incorrect use of "finalize" token in bsoncxx stream builder example Created: 19/May/20 Updated: 07/Feb/24 |
|
| Status: | Backlog |
| Project: | C++ Driver |
| Component/s: | Docs Examples, Documentation |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Reference Docs Improvements |
| Quarter: | FY24Q4 |
| 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. |