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

Remove undefined error parameter from topology open event

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: None
    • 2
    • Not Needed

      The topology open event emits (undefined, Topology) as it's values. The first being an error that is always undefined since the Topology is successfully opened.

      AC

      • Add test to assert the topology open event only has one argument.

            Assignee:
            grace.chong@mongodb.com Grace Chong (Inactive)
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: