|
|
|
|
|
by bpicolo
3263 days ago
|
|
Hey Sergio, Regarding fairings, it seems a missing "middleware" case might be the sorts of things that cause redirects on entry (e.g. redirect routes with/without trailing slashes to the latter as a super trivial example). Is that something you'd expect to support in some way? I think that's something that doesn't feel like it maps either to guards or fairings well at the moment. I did see where you mentioned your dislike of rails/sinatra/... style blunt force middleware, fwiw. |
|
[0]: https://rocket.rs/guide/fairings/
[1]: https://api.rocket.rs/rocket/fairing/trait.Fairing.html