Fork me on GitHub
#polylith
<
2023-01-30
>
agile_geek10:01:17

We have a newly migrated Polylith monorepo that contains several (3) bases and associated projects. I've noticed that the tests for one of the projects are not running when running the poly tool (either as a tool from cmd line or as a Clojure dependency). It appears this is due to the base in that project having a top level namespace that differs from the other two projects. Is there a way to specify top level namespaces per project or per base?

tengstrand11:01:51

Components and bases have to use the top namespace, but a project can live in any namespace (but you should avoid using the top namespace). If you really need some code to live somewhere else (outside a top namespace) that code has to live in one or several projects.

👍 2