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

Make bson pointer access explicit

    XMLWordPrintable

    Details

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

      Description

      We pass references to bson_t and bson_iter_t liberally in the codebase, leading to some confusion about whether the pointers are being used in a mutable way or not. Additionally, by making this more explicit we can create easy paths for supporting a change to Swift 5 where these types are imported as OpaquePointer

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: