-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
Currently our BSON library uses plain Javascript objects, which does guarantee chronological key ordering if the keys are non-numeric sequences. This presents an issue when a user desires a key like '123' to occur first in a document that also has a key '23'. They will always be ordered in numeric order since they could be considered indexes into an array.
Acceptance criteria: add typescript annotations onto theĀ serialize function so that it can accept Maps.