-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor - P4
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.1.0
-
Component/s: None
-
Labels:
-
Epic Link:
When we encounter the deprecated BSON types Symbol and DBPointer in documents, we return them as Strings and Documents, respectively. So if you round trip these types you do not get the same result out.
When we encounter a BSON undefined, we just error, which is even worse. This has been a problem for the Stitch team as they decode server responses that may contain an undefined.
We should expose all of these types in the public API, but make their initializers internal so that users cannot create new ones themselves in the driver, and can only read them out of existing documents.
- has to be done before
-
SWIFT-352 Test round-tripping of BSON types with native representations using the BSON corpus data
-
- Closed
-