▲ | digianarchist 5 days ago | |||||||
They validated this on the thread. They made an architectural decision to run middleware only on edge. | ||||||||
▲ | tshaddox 5 days ago | parent [-] | |||||||
That's unrelated to the complaint I'm responding to, which is simply that you can only provide a single middleware file. This is merely a DX problem. You absolutely can develop your own composeMiddlewares function and import different middleware functions from different modules. It's just on you to do that, and to reimplement some basic functionality for each composable middleware function (like matcher regexes). | ||||||||
|