-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Refactor and improve async documentation #2605
Conversation
Unfortunately, referencing System.Interactive.Async causes ambiguous invocation compilation errors on LINQ operators applied to EF's DbSets; this makes it hard to use both EF and System.Interactive.Async in the same project. To work around this issue, add AsQueryable to your DbSet: | ||
|
||
```c# | ||
var groupedHighlyRatedBlogs = await context.Blogs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use sample rather than inline code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to, but I can't 🤣
This code sample can't coexist with the simpler one just above in the same project...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would need a different project. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hate it :) But did it...
Did you update the PR? Comments are marked as resolved but I don't see changes. |
Sorry, commit got botched somehow... new version up. |
* Merge query and saving async pages * Move under fundamentals * Document ambiguous invocation issues with System.Interactive.Async and show workaround. Closes #1722 Related to #1332 Related to dotnet/efcore#18124
Closes #1722
Related to #1332
Related to dotnet/efcore#18124