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

Support serialization of C# 9 records

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 2.11.6
    • Serialization
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: