-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async support for ToDynamicList() #96
Comments
Can you provide a code-example how you intend to use this ? |
For example in Controller (Generic one) there is regular Get method and it is Async:
Then in the same Controller I also have action Lookup method like this:
So I was considering making that one also async but that would require ToDynamicListAsync(); |
OK, I will take a look. |
Some notes: 1] Your example code allows sql-injection (you provide the 2] The extension methods I've created (see point 3) are fake, they are not really async. 3] Code be found here : ed57240#diff-94779ab3305c4d04396ee3e68380908c |
|
1] It's not a real 2] This file https://github.com/StefH/System.Linq.Dynamic.Core/blob/master/src/Microsoft.EntityFrameworkCore.DynamicLinq/EFDynamicQueryableExtensions.cs defines some methods which are really ASYNC. |
|
* DynamicEnumerableAsyncExtensions (#96) * Fix for ToDynamicArrayAsync<T> method
If you need some more help for search, open a new issue. |
After dynamic select when enumerating I there is ToDynamicList() method but no async version of the same ToDynamicListAsync() that would propagate async call till bottom.
Could this feature be added, because I am using EFCore(1.1.2) and have made most methods in Controller and Repository to be async for efficiency.
The text was updated successfully, but these errors were encountered: