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

Change TopologyType and ServerType enums to plain objects

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      We want to remove all enum usage, (maybe an eslint rule to ban enums should be enabled?) These two are spread far and wide so might incur a number of changes but nothing too involved. And export them at the top level.

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

              Created:
              Updated:
              Resolved: