ArchUnit doesn't detect generic forbidden dependencies #1126
-
Hello, I'm using ArchUnit to detect forbidden dependencies from the controller (C) to the entity (E). Example :
The dependency is detected if there is a direct dependency from C to E :
But it's not detected if there is a depenency from C to Optional :
I'm using the 1.0.1 version. And I've seen here that generics should be supported since 0.0.20 but it doesn't seem to. Any way to detect these generic dependencies ? Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
https://stackoverflow.com/a/76547361/13134095:
|
Beta Was this translation helpful? Give feedback.
https://stackoverflow.com/a/76547361/13134095: