[CSHARP-3861] Add support for System.Linq.IAsyncEnumerable Created: 16/Sep/21 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Unknown |
| Reporter: | Ivan Montilla | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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. |
| Comments |
| Comment by Ivan Montilla [ 17/Sep/21 ] |
|
Thank you Robert! |
| Comment by Robert Stam [ 16/Sep/21 ] |
|
Thank you for submitting this idea to us. It sounds like an interesting proposal. We won't be able to evaluate it immediately, but we will consider it at some point. In the meantime, this ticket will remain in the Open state. |