Applying Middlewares to Each Level in Platform-Bun's HttpRouter Example
using the http-tag-router example for platform-bun, how are you supposed to apply middlewares via HttpRouter.use(myMiddleware) to each 'level'? and also other functions like Effect.catchAllDefect
I have tried all kinds of combinations but its the .Default that makes it confusing for me since i turns it into a layer instead of HttpRouter - all the examples show the middlewares and other functions being piped when using HttpRouter.empty
I have tried all kinds of combinations but its the .Default that makes it confusing for me since i turns it into a layer instead of HttpRouter - all the examples show the middlewares and other functions being piped when using HttpRouter.empty
