Open Karitham opened 2 years ago
Middlewares are lovely.
They're useful for all kinds of stuff, and they're especially useful when accompanied by a great routing library.
We need to figure out a nice design to apply middlewares to Routes, Groups and Subroutes. Chi does this amazingly well
I'd imagine we could do it similarly to chi, just with our Handler type instead.
Middlewares are lovely.
They're useful for all kinds of stuff, and they're especially useful when accompanied by a great routing library.
We need to figure out a nice design to apply middlewares to Routes, Groups and Subroutes. Chi does this amazingly well