Fork me on GitHub
#reitit
<
2018-09-10
>
ikitommi05:09:42

[metosin/reitit "0.2.2"] is out, with the interceptor addons. Rationale & links to samples in the 3-page docs: https://metosin.github.io/reitit/http/interceptors.html

👍 12
levitanong07:09:09

@ikitommi is it possible to coerce path params?

levitanong09:09:39

@ikitommi so the reason i ask is, when i use clojure spec with ring, i get coerced body-params, but path-params are always strings

ikitommi09:09:45

if you define a :path parameter model, it will coerce those.

ikitommi10:09:52

if you have a failing sample, I can take a look.

levitanong13:09:04

ok, will come up with a minimum repro.