stariy95 commented on code in PR #535:
URL: https://github.com/apache/cayenne/pull/535#discussion_r1021447579


##########
cayenne-di/src/main/java/org/apache/cayenne/di/spi/DIGraph.java:
##########
@@ -68,6 +68,7 @@ public void addAll(Collection<V> vertexes) {
        public void add(V from, V to) {
                this.add(from);
                this.add(to);
+               neighbors.get(to).remove(from);

Review Comment:
   This change breaks Module providers circular dependency check, see 
`ModuleLoader.loadModules()`. An easy fix could be just add option to the 
`DIGraph` use different logic in List creation and in modules loading.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cayenne.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to