Option object for WithMiddleware. #14605
Closed
joelmandell
started this conversation in
Features and ideas
Replies: 2 comments
-
This PR is upcoming for 12.1, which obviates the need for calling all builders manually: #14503 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Because #14503 is now released I will close this discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ;)
I have an idea for adding an option/config option for WithMiddleware to add support for cors policies. I can add an PR if that is something you think could be useful. Instead of doing an WithCustomMiddleware and calling all builders manually, one could have a config/option object with for example an CorsPolicy array, that adds cors policies in correct order (after UseRouting and before UseAuthentication and so on).
What do you guys think about that?
Beta Was this translation helpful? Give feedback.
All reactions