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

Throw a more informative exception when attempting to deserialize a struct (which is not supported)

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1
    • Affects Version/s: 1.0
    • Component/s: None
    • None

      Deserialization of structs is not supported. In v1.0, when this is attempted a very strange exception is thrown. Instead, a BsonSerializationException with a more informative message should be thrown.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: