Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3861

Add support for System.Linq.IAsyncEnumerable

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Linq
    • None

    Description

      The DotNet Foundation maintain the System.Linq.Async NuGet package that is a set of interfaces to implemente async LINQ query provider.

      MongoDB driver should implements these interfaces.

      Proposal 1:

      IMongoQueryable<T> should extends System.Linq.IAsyncQueryable<T>.

      Proposal 2 (I think is better):

      Add extension method to IMongoQueryable to get an IAsyncQueryable implementation. This approach allow to maintain the extension method and provider implementation in other project to avoid add a new dependency to driver project.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rrss@iokode.blog Ivan Montilla
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: