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

Create generic options schema, and refactor options mangement

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Epic Name:
      Options Management
    • Detailed Project Statuses:
      Hide
      2018-08-14 : Initial Target ?
      Design is in progress, will be able to provide a better estimate when design is complete.

      2018-08-17 : Initial Target 2018-09-14 (4weeks)
      Estimate based on design completion.

      2018-09-11 : Updated target 2018-10-05 (7weeks)
      Adding three weeks as the design document took longer to review and a few node bugs took priority.

      2018-10-15 : Updated target date 2018-10-26 (10weeks)
      The scope of the epic kept increasing which is why this was taking longer than expected. Decision was made in the last stakeholder meeting to cut back on the scope and finish the epic within the quarter.

      2018-10-25 : The work in the epic will be done by the end of the week. The follow on work is added to a new epic NODE-1704.

      2018-11-08 : Updated target 2018-11-23 (12weeks)
      Adding two more week, last few tickets are in CR.
      Show
      2018-08-14 : Initial Target ? Design is in progress, will be able to provide a better estimate when design is complete. 2018-08-17 : Initial Target 2018-09-14 (4weeks) Estimate based on design completion. 2018-09-11 : Updated target 2018-10-05 (7weeks) Adding three weeks as the design document took longer to review and a few node bugs took priority. 2018-10-15 : Updated target date 2018-10-26 (10weeks) The scope of the epic kept increasing which is why this was taking longer than expected. Decision was made in the last stakeholder meeting to cut back on the scope and finish the epic within the quarter. 2018-10-25 : The work in the epic will be done by the end of the week. The follow on work is added to a new epic NODE-1704 . 2018-11-08 : Updated target 2018-11-23 (12weeks) Adding two more week, last few tickets are in CR.

      Description

      We have an options problem in node-mongodb-native. Migration of options over time has been a large source of bugs and confusion. We don't have an easy to way indicate that options are deprecated, or support multiple variant spelling forms, as well as validating that the type specified is valid. Finally, it seems to have become our policy to always shallow copy options, but we haven't followed through on this is in most cases. Creating a minimalistic schema for options would allow us to solve all these problems.

      Included in this epic is a seemingly unrelated ticket to refactor the URI parser, but that uses options just like the rest of our public API, so it's included for completeness.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              katherine.walker Katherine Walker (Inactive)
              Reporter:
              matt.broadstone Matt Broadstone
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Start date:
                End date: