Internal redirects
Open
design
feature
- Dominant language
- Rust
- Stars
- 5.1k
- Forks
- 329
- PR merge metrics
- No merged PRs in 30d
Description
Since middleware and endpoints run strictly after routing (by design), we may want to provide an ergonomic way of *internally* redirecting to other routes.
Some considerations:
- How best to express this? E.g. explicitly re-enter the router? Return a revised *request*? Something else?
- How should middleware be applied when handling the redirected request?
Contributor guide
Assessment
This issue has not been assessed yet.