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

Support ISupportInitialize when targeting .NET standard 1.5

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.9.3
    • Affects Version/s: 2.5
    • Component/s: Serialization
    • None
    • Environment:
      .NET standard
    • Minor Change

      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

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

              Created:
              Updated:
              Resolved: