Fork me on GitHub
#polylith
<
2022-08-05
>
tlonist02:08:18

there must have been some questions regarding 'components referring to other components' or situations of circular dependency. What is polylith's policy on those?

seancorfield03:08:59

The poly tool will detect and complain about circular dependencies. Does that answer your question?

tlonist03:08:29

Thanks for answering. My question was more about whether it is okay(regardless of its possibility) to have one component refer the other in terms of polylith's principle.

seancorfield05:08:36

Yes, components can refer to each other. That's fine. As long as they are not circular references.

1
seancorfield05:08:51

You can see that from the https://polylith.gitbook.io/polylith/conclusion/production-systems page where the middle image in each of the examples is the cross-dependencies of the bricks.

👍 2