Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3345

Document that bson_append_utf8 and bson_append_symbol append a BSON NULL if given NULL

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.16.0
    • Affects Version/s: None
    • Component/s: Docs, libbson

      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.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: