Skip to content

ApplicationValidator check #337

Closed Answered by exterm
oskarpearson asked this question in Ideas
Discussion options

You must be logged in to vote

Our current project does contain package cycles.

There are two things to distinguish here:

  • actual cyclical dependencies
  • specified cyclical dependencies

Actual dependencies can be cyclical, packwerk has no problem with that.
When we decided to have packwerk reject cyclical specified dependencies, this was the reasoning:

Specified dependencies express a desired state. The desired state should never contain cycles. Packwerk enables teams to move from current state towards desired state via the package todo files which allow recording the difference between current and desired states. They are intended to be worked off (reduced) over time.

Allowing cyclical dependencies in specified depen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oskarpearson
Comment options

Answer selected by oskarpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants