Support ISupportInitialize when targeting .NET standard 1.5

XMLWordPrintableJSON

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

      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 Stam
              Reporter:
              Sergio Costa
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: