-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Currently, with the changes in https://github.com/mongodb-js/compass/pull/8307/changes we're setting any large int in an argument like `Long(123...)` to a string. This isn't quite right, we should only do that for the various methods that accept a string, like Long, Decimal128, etc.
We also don't wrap negative numbers quite right:
| {{
{ a: -9007199254740993 }
}} (shell) |
{{
{ a: -Long("9007199254740993") }
}} ❌ |
Let's fix that as well.
- depends on
-
COMPASS-10772 Add shell syntax editor to insert document
-
- Closed
-