-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
NODE-4103 Description
What problem are you facing?
collection.watch doesn't respect promoteLongs option therefore small Long values are always emitted as Numbers
What driver and relevant dependency versions are you using?
mongodb@4.3.1
Steps to reproduce?
1. call collection.watch with `
{ promoteLongs: false }` options
2. insert a document with `
` to given collection
3. observe that the document emitted by the change stream has `long = 0`
- is depended on by
-
NODE-4103 collection.watch doesn't respect promoteLongs option
- Closed