reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
wegi 2020-07-31T06:54:19.391700Z

Yeah, path-params are viable for that. Can I somehow access them out of the routes definition? For example get the params of the currently set route.

wegi 2020-07-31T06:56:00.391900Z

Just found I could use match-by-path and then extract the coerced parameters.

Empperi 2020-07-31T09:22:49.393600Z

Hi. I wonder if there is a ready-made coercer for Reitit for coercing snake_case keys into kebab-case?

Empperi 2020-07-31T09:22:55.393800Z

Like built-in?

Empperi 2020-07-31T09:23:14.394100Z

I guess it shouldn't be too hard to write myself, just curious