-
Type: Task
-
Resolution: Declined
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Stability
-
None
All code related to manipulating unpromoted BSON types (Decimal128, etc) should be moved to hadron-type-checker, which already offers a lot of related functionality.
This is not something urgent, but we should eventually do this for better code maintenance and testing.
- extract the numeric value of Decimal128, Long, Double, Int32
- comparison functions for Decimal128, Long, Double, Int32, ObjectId, ...
These functions are used in various places in Compass, for example during query building and minichart rendering.