This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (13)
- # calva (10)
- # clerk (18)
- # clj-on-windows (39)
- # clj-otel (1)
- # cljdoc (17)
- # clojars (12)
- # clojure (40)
- # clojure-austin (11)
- # clojure-brasil (1)
- # clojure-europe (23)
- # clojure-nl (3)
- # clojure-norway (16)
- # clojure-uk (2)
- # clojurescript (28)
- # clr (4)
- # conjure (1)
- # emacs (14)
- # hoplon (6)
- # hyperfiddle (59)
- # interop (2)
- # leiningen (1)
- # off-topic (37)
- # pathom (1)
- # polylith (5)
- # portal (7)
- # reagent (9)
- # releases (3)
- # shadow-cljs (22)
- # spacemacs (6)
- # tools-build (12)
- # tools-deps (51)
- # web-security (6)
- # xtdb (7)
Any other polylith users here? Im curious how you are handling jacking in (or connecting). I'm using a user.clj
file at the root directory to jack in, but it seems a bit hacky.
I'd personally prefer to be able to jack in on any file in the repo, and have it use the polylith root dir instead of the brick's root
Probably the idiomatic solution involves setting a .dir-locals.el with a fixed command Although I haven't used Poly for a while
How are you liking the polylith-life, @U01GQNJFP6U?
Ooh yeah .dir-locals is probably the way to go thinking about it, I'll have to to find the cider command that defines the fn used to jack in
In a customer project we have a “root level” deps.edn
with a :dev
alias that adds extra-paths
for all bases and components. Originally this was just a hack for Cursive users to make it work but maybe as a coincidence (?) it makes jack-in work “as expected”.
We’ve been using Polylith over a year there. I have mixed feelings. I like some things but others not so much.
Which things do you not like so much @U6N4HSMFW?
I still don’t get the point of base wrt. components. I’ve read the docs several times and implemented several bases but I fail to see the value.
poly test
is crude and output is horrible. Recently it’s become possible to use kaocha as a test-runner which improves this.
Interfaces introduce boilerplate.
@U6N4HSMFW if you have suggestions, questions or even just complaints the folks over at #polylith are very receptive to feedback and quite eager to help 🙂 (I haven't used polylith extensively but I share some of your concerns)
I view the components as simple libraries, and bases are the actual "business" applications which leverage the components