Fork me on GitHub
#ring
<
2017-10-04
>
mpenet12:10:57

@ikitommi I like that router lib, it's well put together really

mpenet12:10:23

I d like it even more if it limited itself to routing tho. Shouldn't the coercion/middlware'intercept be a "resource" level concern?

mpenet12:10:40

maybe that's what you meant with separate artifacts tho

mpenet12:10:08

I think I might give it a try

ikitommi12:10:47

@mpenet great to hear you like that! Agree that the simplest definition for a routing lib is just route definition & matching, e.g. reitit.core. Have to learn how to maintain a mono-/multirepo to be able deploy the layers as separate artefacts. Only dependency in the lib is meta-merge, so it has been easy to develop all in same repo/project.

mpenet12:10:44

not claiming this is the best way, but I do it one way that works for me on https://github.com/mpenet/alia

mpenet12:10:41

this one uses lein, but it s very similar (easier actually) with boot, that's what I use on internal stuff now

mpenet12:10:28

I guess it's kinda similar to the way ring is organized too