But the client is needed by WorkflowTaskExecutor which is bound a few lines further down
services.AddTransient<IWorkflowTaskExecutor, WorkflowTaskExecutor>();
This leads to the hosted service hanging during Start because WorkflowTaskCoordinator can't get the implementation from the serviceProvider
In Conductor.Client.Extensions.DependencyInjectionExtensions.AddConductorWorker() The binding of
IConductorWorkerRestClient
was removed by commenting it out// services.AddTransient<IConductorWorkerRestClient, ConductorWorkerRestClient>();
But the client is needed by WorkflowTaskExecutor which is bound a few lines further down
services.AddTransient<IWorkflowTaskExecutor, WorkflowTaskExecutor>();
This leads to the hosted service hanging during Start because
WorkflowTaskCoordinator
can't get the implementation from theserviceProvider