Fork me on GitHub
#reitit
<
2019-05-08
>
jlt14:05:38

Curious if anyone here knows why reitit.ring/ring-handler accepts :middleware in its options to wrap the resulting ring-handler... Is this just supplied as convenience over including "route-wide" middleware in a top level ["" {:middleware ...} [...]] routes definition?

ikitommi15:05:22

@jameslintaylor :middleware at the top wrap also the default handler.

jlt15:05:50

Ah, of course! Thanks