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

Add support for System.Linq.IAsyncEnumerable

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Linq
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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.

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

              Created:
              Updated: