polylith

Andrew Leverette 2025-02-14T23:27:07.537219Z

Okay, random question. What is the convention for creating bricks in polylith whose names separated words by hyphen or underscore? If I use hyphen, Clojure complains because the namespace name is invalid or something like that, but if I use underscores, polylith creates the namespace with the underscores, which Clojure doesn't like but will accept - I think. Any conventions on this?

seancorfield 2025-02-15T00:36:28.323109Z

We use hyphen in brick names all the time so I'm not quite sure what you're asking...?

seancorfield 2025-02-15T00:37:36.170669Z

poly create component name:my-thing produces components/my-thing/src/top_ns/my_thing/interface.clj with (ns top-ns.my-thing.interface) which is all legal and correct.

Andrew Leverette 2025-02-15T02:47:47.576029Z

I must have just made a mistake when creating the brick or something. I tried again and it works as expected.

👍🏻 1