-
Notifications
You must be signed in to change notification settings - Fork 458
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
Improve Task.Run()/CancellationToken code #4577
Conversation
/azp run test-all |
Azure Pipelines successfully started running 1 pipeline(s). |
Test baselines changed by this PR. Don't forget to merge/close baselines PR after this pr merged/closed. |
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 see code still assume Provider could be not IQueryProviderAsync. Remove it here or you plan to submit another PR?
I think you're incorrect in your assumption here. For example, if someone calls |
If there is no
Instead of trying to execute broken code we can throw exception with descriptive message that linq2db API used over non-linq2db query. PS: if there are valid cases I'm not aware of - we could preserve it |
@MaceWindu fair enough - let's do a sep PR for that. |
Part of #4475