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

Create generic options schema, and refactor options mangement

    • Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 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.

      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.

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

              Created:
              Updated:
              Resolved:
              14 weeks