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
Despite the clearly non-circular dependency from parent to child, due to the dependency of parent incorrectly not using the child qualifier and depending on itself, avaje-inject spits out this error:
error: Circular dependencies detected with beans [java.lang.String:parent, test.Test] To handle circular dependencies consider using field injection rather than constructor injection on one of the dependencies.
See https://avaje.io/inject/#circular
error: Circular dependency - java.lang.String:parent dependsOn java.lang.String:parent for java.lang.String
error: Circular dependency - test.Test dependsOn java.lang.String:parent for java.lang.String
This should not be an error and should compile cleanly.
The text was updated successfully, but these errors were encountered:
Given the following code:
Despite the clearly non-circular dependency from
parent
tochild
, due to the dependency ofparent
incorrectly not using thechild
qualifier and depending on itself, avaje-inject spits out this error:This should not be an error and should compile cleanly.
The text was updated successfully, but these errors were encountered: