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

Support ISupportInitialize when targeting .NET standard 1.5

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.9.3
    • 2.5
    • Serialization
    • None
    • .NET standard
    • Minor Change

    Description

      We are migrating a project to ASP.net core where we have POCOs beeing deserialized that implement ISupportInitialize

      Looking at the driver source (https://github.com/mongodb/mongo-csharp-driver/blob/v2.5.0/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs), this isn't supported in .net standard.

      I looked around and couldn't find a reason for this. Can you guys include it again?

      Thanks

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            sergio.costa Sergio Costa
            Votes:
            6 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: