Fork me on GitHub
#reitit
<
2021-03-08
>
datran02:03:35

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?

datran02:03:08

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

datran03:03:53

ok, that works fine

datran03:03:40

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

lispyclouds14:03:09

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

🥳 3
ikitommi15:03:55

@rahul080327 great experiment 🙂

lispyclouds15:03:36

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

koura08:03:35

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