The poly tool is now identifying circular brick dependencies 👉 🟩 👈 #397
DavidVujic
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The poly tool now detects circular dependencies between bricks, to help you avoid any possible runtime errors. The
poly depsandpoly deps --brick <the brick>now reports on bricks that are both used by and used in a brick.The command will not return with a failed exit code, but will report the circular dependency as information. Circular brick dependencies can work without runtime errors, and I don't want the tooling to prevent that if it is intentional.
Here's an example of the usage,
where a brick dependency that is circular is found in the actual poly tool itself 🤯
(circular dependency fixed in #393)
I hope this will be a usefull addition to the tooling support for the Polylith Architecture! The feature is available in the CLI with version 1.38 and the Poetry plugin with version 1.45.
Beta Was this translation helpful? Give feedback.
All reactions