[CDRIVER-3345] Document that bson_append_utf8 and bson_append_symbol append a BSON NULL if given NULL Created: 28/Aug/19 Updated: 28/Oct/23 Resolved: 14/Jan/20 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | docs, libbson |
| Affects Version/s: | None |
| Fix Version/s: | 1.16.0 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Oddly, libbson will append a BSON NULL element (instead of an empty string/symbol, or instead of asserting) when given NULL as the argument to append Changing this behavior would be backwards breaking, but we should at least update documentation. |
| Comments |
| Comment by Githook User [ 14/Jan/20 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |