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)

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1
    • 1.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: