Fork me on GitHub
#reitit
<
2018-04-04
>
ikitommi12:04:59

hello from slack

ikitommi12:04:45

the Schema swagger-mappings for Clojure/Script are btw 80% done (via schema-tools), will push some small changes to spec-tools to make the api identical.

ikitommi12:04:28

Thinking if metosin/muuntaja could be ported to Clojure/Script/Macchiato, would allow same apps to be pushed to both JVM & Node. Hmm.

grierson12:04:44

How do I test a resource? I need to test how my router is handling a query parameter being passed in?

ikitommi14:04:51

ring has a bunch of params middleware that do the actual http-request => ring-parameters mappings, currently reitit handles only path-parameters itself (as it's a routing library).

ikitommi14:04:16

I think most og the usefull middleware should be rewritten and re-packaged as data-driven (and for Clojure/Script!). Could be a community effort.