-
Notifications
You must be signed in to change notification settings - Fork 199
MapMiddleware should support rejoining the parent pipeline #351
Comments
Sounds like a good idea. 1.0.0 backlog for now. |
We've theorized about this since the first days of Katana, but nobody has ever actually asked for it. I think you'd want it to be a distinct keyword rather than just an option because of how much it changes the semantics. |
I have a use case for this. We want to have |
With help from @davidfowl, I've done up the following based on the current |
👍 In my case, I have an Authorization Server and Resource Server on same project.
|
Seems to me that something like that should be called app.UseWhen(...) It is just a piece of regular middleware that only applies to a subset of the URI space. |
👍 Another use case would be to only call 'error-handling' middleware like |
FWIW, here's the |
Right now the MapMiddleware either takes the branch or calls next. There should be an option to fallback to the parent pipeline (or maybe that should just be the default), instead of getting a child appbuilder with a 404 by default.
/cc @Tratcher @DamianEdwards
The text was updated successfully, but these errors were encountered: