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

Support BsonKnownTypes attribute on interface types

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      `System.Text.Json` can support polymorphic JSON serialization/deserialization using an interface as base type. I think MongoDB should support `BsonKnownTypes` attribute on interface types as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            henry@schedgo.com Henry Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: