Support dot notation types in filter keys

XMLWordPrintableJSON

    • 2
    • None
    • Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Bailey Pearson
              Reporter:
              Daria Pardue
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: