-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: TypeScript
Note: This ticket was filed to track the user submitted PR: https://github.com/mongodb/node-mongodb-native/pull/2972
How are you using Mongo? What version of the server and driver are you using?
v4.1.1
What is the feauture/improvement you would like?
TypeScript hinting support for dotted keys in nested schema (e.g., if my schema has an object { animal: { dog:
{ name: 'Fido' }} }, I'd like the type of `animal.dog.name` to evaluate to 'string' )
What use case would this feature/improvement enable?
Having type hinting when using a filter object with the find APIs