You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The poly tool now detects circular dependencies between bricks, to help you avoid any possible runtime errors. The poly deps and poly 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 🤯
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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