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

Make BsonClassMapSerializer public again

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.6
    • 1.5
    • None
    • None

    Description

      BsonClassMapSerializer used to be public but was made internal based on the assumption that it should be hidden from the user. But it turns out that there is a legitimate use case for directly instantiating a BsonClassMapSerializer (without registering it). If you want to write a custom serializer that delegates most of the work to a BsonClassMapSerializer but massages an intermediate BsonDocument during serialization/deserialization you need to be able to instantiate a BsonClassMapSerializer directly.

      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: