Fork me on GitHub
#reitit
<
2023-05-25
>
RAJKUMAR19:05:00

I've both interceptors and middleware configured for router

RAJKUMAR19:05:18

then I don't see middleware is getting invoked

RAJKUMAR19:05:50

consider this code below

RAJKUMAR19:05:26

This is the result

p-himik19:05:36

There are two routers - Ring and HTTP. The first supports only middleware, the second supports only interceptors.

RAJKUMAR22:05:52

If we are using http routers then only way to invoke a function before and after on invocation of every route defined is using custom handler right? @U2FRKM4TW