-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Core
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`