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
This allows you to pass in context.
But they need to implement a mock workflowserviceclient.Interface for getting history.
The text was updated successfully, but these errors were encountered:
longquanzheng
changed the title
Allows pass context into z ReplayPartialWorkflowHistoryFromJSONFile
Allows pass context into ReplayPartialWorkflowHistoryFromJSONFile
Mar 18, 2021
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.
https://github.com/uber-go/cadence-client/blob/d39d9abe91d776b1fcfb284e54460e3fcb98cb8a/worker/worker.go#L287
This allows you to pass in context.
But they need to implement a mock
workflowserviceclient.Interface
for getting history.The text was updated successfully, but these errors were encountered: