-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: JavaScript, Shell
-
Server Tooling & Methods
-
2
In the shell, doing:
tojson(new Set([1,2,3]))
Just prints out a misleading "{ }". tojson should either explicitly throw an error or print out the elements.
- duplicates
-
SERVER-69961 Assign expected / actual for assert.setEq javascript function
-
- Closed
-
- is duplicated by
-
SERVER-40107 assert.eq always returns true for javascript Set objects
-
- Closed
-
- is related to
-
SERVER-91500 tojson Should Properly Handle Map Objects
-
- Closed
-
- related to
-
SERVER-50614 JS 'Set' type does not serialize well to BSON
-
- Backlog
-