Théodore Prévot

Results 79 comments of Théodore Prévot

Closing in favor of #376. Thanks @kelnos for your work, it helped me a lot on the direction to take to solve this issue.

It is because the `Ref` is not `Send`. Therefore if you use it across `.await` points, the returned future will not be `Send`. It is a requirement for the returned...

Actually, it is global to every handlers (not only middlewares). The only thing I could do is to provide a `Extension` extractor that directly get and clone the object like...

I might work on an adapter based on the answers on this thread: https://github.com/rwf2/Rocket/discussions/2650

> I might work on an adapter based on the answers on this thread: [rwf2/Rocket#2650](https://github.com/rwf2/Rocket/discussions/2650) According to the answer of rocket's maintainer, we are going to wait for the release...

It is not planned for the moment. I'll do some research on it and maybe propose directions for anyone who would like to work on it.

At any time you can debug the io struct and you should be able to get the map of the current registered namespaces. I don't think I'll implement regex based...

We need to have node removal feature to use the matchit router : https://github.com/ibraheemdev/matchit/issues/44 as found by @brandonsimpson21.

> you cannot remove nodes with the [matchit router](https://docs.rs/matchit/latest/matchit/struct.Router.html), but you could use the active nodes to recreate the router on node deletion or verify the nodes active beforehand. It...

https://github.com/ibraheemdev/matchit/pull/49