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

Do not throw exception on dup fields during decoding

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4
    • Affects Version/s: 1.3.1
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: