Fork me on GitHub
#clojure-spec
<
2017-12-03
>
ikitommi15:12:55

@kumarshantanu did an example of normal ring app with the spec-coercion via a middleware

ikitommi15:12:07

same with reitit, where the data is read from route data instead of middleware args: https://github.com/metosin/reitit/blob/master/examples/ring-example/src/example/spec.clj

ikitommi16:12:24

if you have questions, please join #reitit