Fork me on GitHub
#pedestal
<
2021-06-09
>
Fabim12:06:50

@lucian303 I’m just starting with Pedestal. Maybe reitit https://cljdoc.org/d/metosin/reitit/0.5.13/doc/http/pedestal could be an alternative solution?

lucian30321:06:55

@merklefabian yes, maybe. it looks like reitit does solve this problem by providing the router with the request which should be a no brainer for any app that lives in more than one namespace. i actually wanted to use reitit to begin with but good luck trying to figure out how to hook it into pedestal. i gave up after a couple of days

lucian30321:06:14

@souenzzo that is interesting. i'm not sure how that would work but i'll look into it. i was not able to get with-bindings to work. it just results in an unbound fn. i'm also not sure it would refer to the correct router in pedestal as there are multiple ones, one for each server

souenzzo21:06:00

@lucian303 can you push a small example into github?

lucian30321:06:29

yes, but it may not be till tomorrow

👍 2