pedestal

Fabim 2021-06-09T12:53:50.030800Z

@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?

lucian303 2021-06-09T21:43:55.032300Z

@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

lucian303 2021-06-09T21:45:14.033600Z

@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

souenzzo 2021-06-09T21:47:00.034900Z

@lucian303 can you push a small example into github?

lucian303 2021-06-09T21:48:29.035100Z

yes, but it may not be till tomorrow

šŸ‘ 1