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
The current Wiring spec implementation will recurse infinitely if there are cyclical node dependencies. Similarly, the golang DI graph would recurse infinitely if there were cyclical dependencies.
This is not a fundamental limitation. However, to support cyclical node dependencies might entail tweaking the way IR nodes are constructed, to have constructor injection as well as setter-based injection.
This will be a major change.
The text was updated successfully, but these errors were encountered:
In GitLab by @JonathanMace on Sep 16, 2023, 24:47
The current Wiring spec implementation will recurse infinitely if there are cyclical node dependencies. Similarly, the golang DI graph would recurse infinitely if there were cyclical dependencies.
This is not a fundamental limitation. However, to support cyclical node dependencies might entail tweaking the way IR nodes are constructed, to have constructor injection as well as setter-based injection.
This will be a major change.
The text was updated successfully, but these errors were encountered: