-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.1.4
-
Component/s: TypeScript
What problem are you facing?
If you define a `Filter<TSchema>` object, properties of `TSchema` which are of type `number` are not throwing an error when the value assigned is a `ObjectId`.
What driver and relevant dependency versions are you using?
mongodb v4.1.4
typescript v4.4.4
Steps to reproduce?
See TS Playground:
- depends on
-
NODE-3759 Investigate NODE-3758 - TypeScript Filter number condition ignores ObjectId values
- Closed