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

Organize imports and introduce tooling to keep sorted to avoid circular dependency issues

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Not Needed

      We should investigate circular dependency issues in the driver, currently if I run an import sorting tool RunCommandOperation breaks when in tried to extend CommandOperation. I imagine this has to do with the dependency tree:

      run_command.ts > command.ts > operation.ts > sessions.ts > run_command.ts

       

      AC

      • Fix the issue described above and the one in the linked NODE-3313 ticket (slightly different error)
      • Remove hacky code from unit tests marked with this ticket

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: