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

aggregate TypeScypt type is incorrect

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.9
    • Component/s: TypeScript
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Method toArray of an AggregationCursor<T> should not return Promise<T[]> but Promise<unknown[]> since aggregation can (and often do) transform documents.

            Assignee:
            Unassigned Unassigned
            Reporter:
            js@stairwage.com Jérôme Senot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: