Skip to content
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

#59 - Support CancellationToken in DataSources #142

Merged
merged 2 commits into from
Aug 24, 2020

Conversation

ascott18
Copy link
Collaborator

@ascott18 ascott18 commented Jan 8, 2020

Currently its a bit annoying to use because EF will log cancellations. dotnet/efcore#19526

adamskt
adamskt previously approved these changes Jan 8, 2020
Copy link
Member

@adamskt adamskt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know Vue very well, but the CS stuff looks good. :shipit:

@ascott18
Copy link
Collaborator Author

ascott18 commented Jan 9, 2020

The changed Vue files in this case are just the horribly outdated ad-hoc testbed.

I want to hold off on merging this until I see what MS intends to do on that EF Core issue I posted, because right now, cancellations will pollute your logs to death with errors that aren't really errors.

@ascott18 ascott18 force-pushed the ascott/59-data-source-cancelltion branch from c883bf8 to 2dce819 Compare August 21, 2020 21:42
@ascott18 ascott18 marked this pull request as ready for review August 21, 2020 21:43
CancellationToken usage in StandardDataSource disabled by default to work around EF's default logging of cancellations.
@ascott18 ascott18 force-pushed the ascott/59-data-source-cancelltion branch from 2dce819 to 824e1b7 Compare August 21, 2020 21:48
@ascott18 ascott18 requested a review from Steborino August 21, 2020 21:50
@ascott18 ascott18 merged commit 322cce5 into dev Aug 24, 2020
@ascott18 ascott18 deleted the ascott/59-data-source-cancelltion branch August 24, 2020 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants