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
Improve support and/or safety of Dependency Injection with JavaSDK.
Core objectives
Dependency Injection into Workflow instances should be strongly discouraged. It's deemed unsafe and leads to practices that create non-deterministic workflows at the end. But Temporal needs to provide alternative solutions for the common problems and goals that users are addressing with dependency injection.
Documentation page describing why in the vast majority of cases injection into workflow instances is dangerous with examples of situations when it's a legit approach and when it's not (and what alternative should be used)
Description
Improve support and/or safety of Dependency Injection with JavaSDK.
Core objectives
Dependency Injection into Workflow instances should be strongly discouraged. It's deemed unsafe and leads to practices that create non-deterministic workflows at the end. But Temporal needs to provide alternative solutions for the common problems and goals that users are addressing with dependency injection.
Tasks
Related user requests / reports
The text was updated successfully, but these errors were encountered: