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
Constructor injection guarantees no circular dependencies between classes
Experience has shown this to be untrue, plus, the documentation appears to contradict itself here:
If two classes are injected into each other and both classes use contructor injection, then obviously it is not possible for zenject to create both of these classes. However, what you can do instead is switch to use method injection or field/property injection instead.
Could this be resolved and/or cleared up in the documentation?
The text was updated successfully, but these errors were encountered:
The documentation states:
Experience has shown this to be untrue, plus, the documentation appears to contradict itself here:
Could this be resolved and/or cleared up in the documentation?
The text was updated successfully, but these errors were encountered: