Fix MongoCollection API mismatch between sync and async

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      There are a couple of MongoCollection methods that have different signatures between sync and async. In the sync API the helper methods for aggregate and mapReduce that don't take a resultClass return elements of type <TDocument>. In the async API (reactive and callback), they return elements of type Document.

      Consider making a breaking change in 4.0 to resolve the discrepancy.

            Assignee:
            John Stewart (Inactive)
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: