Allows pass context into ReplayPartialWorkflowHistoryFromJSONFile
longquanzheng opened this issue · comments
Because some workflows expect to use the context to get some values for their business logic.
As a workaround, people could use this one for now.
cadence-client/worker/worker.go
Line 287 in d39d9ab
This allows you to pass in context.
But they need to implement a mock workflowserviceclient.Interface
for getting history.