-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Right now, when deserializing unsigned numbers, the bson crate will check to see if they fit in an i32 or i64 and return an appropriate bson value; however, there's no such check for signed values. This can lead to confusion, e.g. storing golden values in yaml, which always deserializes numbers as 64-bit, will produce a mixed stream of Bson::Int32 and Bson::Int64 depending on the sign of the values.
- is related to
-
RUST-1743 gridfs chunk values serialized to wrong type
- Closed