fabiodomingues/clj-depend

Circular dependency not being treated as a violation

Closed this issue · 0 comments

Today circular dependence is not treated as a violation.

Today the circular dependency is identified when executing the clojure.tools.namespace.dependency/depend function, where an exception is thrown.

The output is as follows:

{:result-code 2
 :message     "Circular dependency between sample.logic.foo and sample.controller.foo"}

And because the exception is thrown, the other violations are not evaluated.