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

Deprecate duplicate BulkWriteResult accessors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • 1
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Details

      The BulkWriteResult class has a number of duplicate accessors for the various properties of a bulkWrite result. We should consider removing the duplicates and indicate the preferred one's through deprecation notices.

      AC

      • Add deprecations for the n prefixed getters
      • Add deprecations for the get* methods (normal methods that begin with the word get)

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: