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

Docs: Add upgrade guide examples for legacy client use and other methods for selectively preserving callbacks

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Documentation Requirements

      • Add upgrade guide examples for using the legacy client as well as selectively using callbackify to retain the ability to continue to use callbacks with the new API to the upgrade guide
        •  e.g., util.callbackify(collection.insertOne.bind(collection))(doc, options, callback)
          • Options becomes required, must bind the instance to the method call

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: