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

Support setting of encoding/decoding strategies on client, database, and collection levels

    XMLWordPrintable

    Details

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

      Description

      If a user were to insert something into a non Document collection, they would not be able to control how UUID s, Date s, or Data s were encoded. We should let them set collection wide encoding/decoding strategies (potentially that inherit from values set on the client or database).

      As part of this change, we should re-use decoders/encoders in instances of MongoCollection.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: