Hi temporal team,
I am trying to use workflowInit together with temporal spring auto configure version 1.27.1
So my code like:
@WorkflowImpl(workers = WorkerNames.WORKER)
public class MyWorkflowImpl implements MyWorkflow {
private final MyActivities myActivities;
@WorkflowInit
public MyWorkflowImpl (Request request) {
final var code = request.getCode();
this.myActivities = activityStub(MyActivities.class, code);
}
…
Above codes gave me errors saying that missing dependencies bean for object Request.
How should I integrate WorkflowInit with temporal spring autoconfigure?
Best regards,
Jx