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
I don't think that we can leverage arc for this. I think the best solution would be to scan the constructor parameters / annotated fields using jandex and create the workflow instance accordingly.
The text was updated successfully, but these errors were encountered:
Temporal is discouraging the use if Dependency Injection for Workflow class, because
However, I believe there is some room to allow injection of Activity stubs (and all other type of temporal stubs).
This way we could move all the options in build time configuration and simplify the workflow implementation from this:
to this:
or even:
I don't think that we can leverage arc for this. I think the best solution would be to scan the constructor parameters / annotated fields using jandex and create the workflow instance accordingly.
The text was updated successfully, but these errors were encountered: