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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16.0
    • Component/s: docs, libbson
    • Labels:

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: