Skip to content

Support all return types from handler in filters #41372

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

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

captainsafia
Copy link
Member

Forward port of #41310 to main.

* Support all return types from handler in filters
* Address feedback from peer review
* Fix up Task and ValueTask handling
* ExecuteAwait to ExecuteAwaited
* Actually await void-returning Tasks and ValueTasks
* Update comment for new logic
* Polish and update tests
* Tweaks and test fixes
* Tweak await of void-returning Task
* Fix correct ExecuteTask invocation
@ghost ghost added the area-runtime label Apr 26, 2022
@captainsafia captainsafia enabled auto-merge (squash) April 26, 2022 04:07
@captainsafia captainsafia added old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels and removed area-runtime labels Apr 26, 2022
@captainsafia captainsafia merged commit d6ea6d7 into main Apr 26, 2022
@captainsafia captainsafia deleted the safia/fp-types-filter-fix branch April 26, 2022 05:40
@ghost ghost added this to the 7.0-preview5 milestone Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants