Use BsonExtraElements annotation in ChangeStreamDocument

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Change Streams
    • None
    • None
    • Fully Compatible
    • Needed
    • None
    • None
    • None
    • None
    • None
    • None

      We should use the BsonExtraElements annotation on a new property added to ChangeStreamDocument, so that ChangeStreamDocument can represent new fields aded by the server even with older drivers.

      Once we do that the unified test "The test "Test projection in change stream returns expected fields" could be implemented using ChangeStreamDocument rather than BsonDocument.

            Assignee:
            Jeffrey Yemin
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: