• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 5.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 0
    • Not Needed
    • Not Needed

      Similar to NODE-4904 we have a few usages of our public CRUD API internally that use callbacks, we would have to jump through numerous "ts-ignore" hoops to get that code happy with the callback overload removals. 

      AC

      • Refactor internal callback usage in:
        • src/cursor/abstract_cursor.ts - executeOperation
        • src/encrypter.ts - MongoClient.close
        • src/operations/bulk_write.ts - bulk.execute
        • src/operations/collections.ts - listCollections().toArray()
        • src/operations/common_functions.ts - listIndexes().toArray()
        • src/operations/indexes.ts - listIndexes().toArray()
        • src/operations/is_capped.ts - listCollections().toArray()
        • src/operations/options_operation.ts - listCollections().toArray()

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

              Created:
              Updated:
              Resolved: