Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-957

DecodingError when encountering dropDatabase event in change stream

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      The current definition of ChangeStreamEvent has the ns field being non-optional. However, this field is not present for "invalidate" events, which causes the change stream to return a DecodingError from next whenever such an event is encountered.

      Attachments

        Activity

          People

            kaitlin.mahar@mongodb.com Kaitlin Mahar
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: