reitit

hanDerPeder 2024-03-03T21:56:44.027819Z

is it possible to share route data between method routes? ie, both GET /foo and POST /foo should get {:my-flag true}

hanDerPeder 2024-03-04T08:04:27.246849Z

thanks!

wevrem 2024-03-03T23:13:23.204689Z

(def routes
  ["/foo" {:my-flag true
           :get (fn [] ...)
           :post (fn [] ...)}])