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

Do not throw exception on dup fields during decoding

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4
    • 1.3.1
    • None
    • None

    Description

      Just print an error/warning but don't fail. All of the other drivers simply add to the dict/map/hash[map] and the last value wins. While this may not be the best way it is the standard. Adding a strict flag might make sense to fail on dups, or on other validations.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: