Fork me on GitHub
#clojure-nl
<
2019-12-17
>
yannvahalewyn08:12:15

@skuro how many routes and how long did it take?

skuro08:12:18

about 30 of them and it took roughly one full day. but that's including me learning my ways around reitit since I never used it really, as well as migrating some mildly complex middleware setup (e.g. different middleware stack per dev / prod environment)

yannvahalewyn13:12:52

Hmm, so we have a bit more and also complex middlewares. So good indication, thanks! Iā€™m asking because this is something that causes us a lot of boilerplate but is not annoying enough to spend the time. Sadly I realise this will take too much time.

borkdude09:12:46

I did the same thing with compojure-api -> yada, but that also had to do with better async. Good riddance of macro magic though.

borkdude09:12:04

Here's a nice diff off all the dependencies we could deprecate while doing so: https://twitter.com/borkdude/status/857979807358910464

borkdude09:12:05

Still I think compojure is a nice (simple as in easy) tool, especially for beginners. And clj-kondo understands has support for it šŸ™‚