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

Support serialization of C# 9 records

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.11.6
    • Component/s: Serialization
    • Labels:
      None

      C# 9 introduced record types:

      https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/exploration/records

      These look like syntactic sugar for creating immutable types and we might already support serialization of records as a by product of our support for serialization of immutable types, but this needs to be thoroughly tested.

            Assignee:
            james.kovacs@mongodb.com James Kovacs
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: