reitit

https://cljdoc.org/d/metosin/reitit/ https://github.com/metosin/reitit/
2021-03-08T02:00:35.034400Z

I'd like to use sieppari interceptors in my cljs reitit router, but I'm getting this: "reitit/interceptor/sieppari.clj" was found on the classpath. Maybe this library only supports CLJ?

2021-03-08T02:02:08.035800Z

It looks like sieppari does support cljs, is the reitit-bundled executor clj only? I'm going to try pulling in sieppari on its own and see if that works

2021-03-08T03:09:53.036Z

ok, that works fine

2021-03-08T03:14:40.036500Z

wait, I spoke too soon, the interceptors don't actually seem to be triggered this way

lispyclouds 2021-03-08T14:29:09.038500Z

Made this tiny lib: https://github.com/lispyclouds/navi Converts OpenAPI route definitions to Reitit routes using Malli coercion. Quite experimental and work in progress, so not yet ready for serious use 😅 Hopefully is useful to some of you! 😄 cc @ikitommi

🥳 1
ikitommi 2021-03-08T15:45:55.039700Z

@rahul080327 great experiment 🙂

koura 2021-03-16T08:52:35.000100Z

cool stuff :thumbsup: been wanting to do the same thing

lispyclouds 2021-03-08T15:50:36.039800Z

Thanks! Please do have some suggestions and improvements that i can try, its mostly driven by my needs currently