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

XMLWordPrintableJSON

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

      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
            Reporter:
            Daria Pardue
            Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: