AlexCouch / pluvo

Pluvo is a modern web framework purely in Gleam built ontop of mist
4 stars 0 forks source link

Middleware is ONLY being applied globally #21

Closed AlexCouch closed 8 months ago

AlexCouch commented 8 months ago

Description

Middleware should be applied according to how they were enabled. Middleware that have been applied to specific routers should preserve that fact. It no longer is.

Commit 08fde0b is the reason why this issue exists. I had failed to test it in groups, so that's on me. Originally, it was meant for globally enabled middleware, but we have lost the locally enabled middleware.