Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6050

Types for findOneAndUpdate is not properly working to get ModifyResult data type

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.5.0
    • Component/s: TypeScript
    • 2
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a developer
      I want to include `includeResultMetadata` together with all other `findOneAndUpdate` options
      So that all options stays together

      User Impact

      • All users now need to explicitly specify `includeResultMetadata` options apart from other `findOneAndUpdate` options

      Dependencies

      • Typescript?

      Unknowns

      • questions that need to be answered to determine implementation

      Acceptance Criteria

      Implementation Requirements

      • Nothing except the ability to define `findOneAndUpdate` options together

      Documentation Requirements

      • mongodb index.d.ts file?

      Follow Up Requirements

      • NA

        1. issue.png
          issue.png
          31 kB
        2. type fie.png
          type fie.png
          96 kB
        3. working.png
          working.png
          38 kB

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            soorajsprakash007+mongo@gmail.com Sooraj S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: