reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
valerauko 2020-05-24T11:58:14.493100Z

hmm never mind i couldn't reproduce once i re-forked reitit from current master

valerauko 2020-05-24T11:58:25.493400Z

i guess whatever i had locally was pathetically out of date

ruben.hamers 2020-05-24T15:14:55.493900Z

is there a reitit mocking library available similar to: https://github.com/ring-clojure/ring-mock ?

valtteri 2020-05-24T17:06:12.494300Z

You can use ring-mock with reitit. 🙂

Franklin 2020-05-24T19:08:25.495400Z

I'm looking for documentation/example on uploading files to a server using reitit and ring... please point me to the direction of such a resource if you know of any, thanks

Franklin 2020-05-24T19:10:02.496Z

I've spent hours trying to figure out how to do this one thing, I really need help

2020-05-25T08:59:06.497400Z

> A common question has been how do you download/upload a file with reitit?. Answer is that reitit-ring is fully compatible with Ring, so anything you can do with Ring, you can do with reitit-ring. To make things easier, we decided to lift some common ring middleware into data-driven middleware intoduced by reitit. You can check the "reitit-middleware" part on this Metosin article: https://www.metosin.fi/blog/reitit020/ This is exactly what you want.

Franklin 2020-05-25T12:39:15.497700Z

sweet! thanks.. will check it out 😃

Franklin 2020-05-24T19:13:36.496200Z

you could even point me to what documentation I should read 😢