-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Performance
Use Case
As a driver engineer
I want to change how BSON options are set
So that we avoid unnecessary checks
Description
When setting BSONSerialization options, the driver calls resolveBSON options
which ensures that all bson options have set values. As such, in src/cmap/commands.ts and src/cmap/connection.ts.
Acceptance Criteria
Implementation requirements
- Update src/cmap/commands.ts
- Update src/cmap/connection.ts
to not check the type of options.useBigInt64 when they are setting their bson options.
Testing requirements
Ensure that all previous tests pass