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

Make MongoDatabase and MongoCollection structs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:

      Description

      For a reason we have not been able to determine, switching MongoDatabase and MongoCollection to be structs causes a Swift compiler crash in the ClientSessionTests.

      I spent some time trying to create a minimal example to repro the crash but did not have any luck. We should maybe timebox spending a bit more time on that.

      Otherwise I think we have to just play around with the structure of the tests until they don't cause a crash anymore.

        Attachments

          Activity

            People

            Assignee:
            patrick.freed Patrick Freed
            Reporter:
            kaitlin.mahar Kaitlin Mahar
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: