Remove `authdb` and `dbName` from the parameter list in CommandOperation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... driver developer
      I want... to remove unused code paths
      So that... I can reduce the complexity of the API surface we support

       

      As a... node driver user
      I want... to not have options in the public API that aren't intended for public use
      So that... I can easily tell what options I should be relying on

      User Experience

      • `dbName` and `authdb`, two parameters in the public CommandOperation API but meant only for internal use, are removed

      Dependencies

      • authdb and dbName are used by removeUser, which should be removed before this work

      Risks/Unknowns

      • Confirm the non-use of authdb and dbName (beyond the known removeUser path)

      Acceptance Criteria

      Implementation Requirements

      • none

      Testing Requirements

      • remove tests

      Documentation Requirements

      • authdb and dbName should be removed from the public docs as available parameters in CommandOperation

      Follow Up Requirements

      • release this change with the next major version

            Assignee:
            Unassigned
            Reporter:
            Sean Milligan
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: