Dependencies in components (version 0.2.12-alpha+) #143
-
The new version of the tool introduced deps.edn for each component. While I understand the idea behind the changes in the recent version (like, using local roots in projects to conform with deps tool), I couldn't find clear guidance in the documentation about the proper usage of indicidual deps.edn in components and bases.
Note, the conclusions here are mainly drawn from the code examination in real-world-app repository. Still, this forum seems to be more appropriate for this discussion as it's exposed to a wider audience. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Let me try answering these questions.
The Polylith Gitbook explains these design choices in detail. I would highly recommend reading it if you haven't yet. If you have further questions or want to discuss about Polylith, you can reach out to the community at the #polylith channel of the Clojurians Slack. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to complement with this.
|
Beta Was this translation helpful? Give feedback.
-
Furkan and Joakim, thank you for taking time to answer my question.
Please let me know if there are any cautions in either approach. What I didn't realize is that it matters how dependency is specified. Of course, this is behavior is imposed by deps tool, and it has nothing to do with polylith. Still it's useful to keep in mind the dependency management options as listed above. The rest of the questions can be inferred from those options. |
Beta Was this translation helpful? Give feedback.
Let me try answering these questions.
:local/root
fully yet. That is why the duplication is necessary only in the rootdeps.edn
. You can read in this issue.