Hi all. I ran into a problem that it is not possible to inject dependencies into the implementation of the interface marked with @WorkflowInterface.
When starting the workflow, Temoral crashes with an error that an instance of the implementation of the @WorkflowInterface interface has not been created.
After looking at the code, I realized that the creation of an instance through the newWorkflowStub() method occurs dynamically, so it will not work to inject a dependency, for example, through @RequiredArgsConstructor.
At the moment, I solved this problem by passing the necessary dependencies as arguments to WorkflowClient.execute().
Maybe there is another solution to this problem?
Please help me figure it out.