Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1287

DOCS- BsonValues no longer accept nulls in their ctors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.0.2, 2.1
    • 2.0
    • Documentation
    • None
    • c#, windows

    Description

      We need to add this bit of information into the backwards breaking changes documentation.

      Original

      The following used to work

      var bsonArray = new BsonArray(incorrectFields);

      however it throws chunks when incorrectFields is null where as before it didn't, found this when upgrading from 1.10 -> 2.0

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            bret@cityspark.com Bret Ferrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: