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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.0
    • None
    • None
    • Not Needed

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: