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

Throw an error when a non-BSONEncoder is used in encode(to:) for all BSONValue types that we own

    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:

      Description

      For BSONValue types that we created (not Swift types we extend), we should throw errors when you try to encode them using a non-BSON encoder, as the synthesized implementations are often incorrect.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: