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

Types in `mongodb-core` used in `node-mongodb-native` should be prefixed with `Core`

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: Core, Native
    • Labels:
      None

      It's very confusing when debugging some code in node-mongodb-native to see that a topology is e.g. Server, as we already have a Server topology in node-mongodb-native! We can easily solve this problem by renaming all exported types to prefix the type with Core.

      *NOTE:* We can still export the newly renamed type as the old name for legacy reasons, but the initially defined functions/classes need have the root name we are looking for.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: