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

ChangeStreamDocument.ClusterTime should be serialized as Timestamp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.1
    • Affects Version/s: 2.7.0
    • Component/s: Serialization
    • None

      Attempting to access ChangeStreamDocument.ClusterTime results in a System.FormatException as we are trying to deserialize a BsonTimestamp as a BsonDocument.

      According to the spec this value is a Timestamp, so we should treat it accordingly.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            john.murphy@mongodb.com John Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: