-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
Currently the ObjectId and Decimal128 property types are broken when using the Chrome Debugger. This is because the JSC does not have access to the 'bson' library. It tries to use run this javascript library to convert the binary data into a javascript value.
Instead of using the javascript BSON constructors to transfer the values from strings, we should create and return a value natively which can be represented as a javascript object.
Possible POC -> get realm into a mode that is receiving and sending EJSON
Goals:
Access ObjectIDs and Decimal128 values as plain objects. (Do not rely on any javascript implementation from BSON)