workflow-kotlin icon indicating copy to clipboard operation
workflow-kotlin copied to clipboard

I think we broke the name param to action() when fired from workers

Open rjrjr opened this issue 4 years ago • 3 comments
trafficstars

I'm giving my app logging of every WorkflowAction fired, via RenderContextInterceptor.onActionSent. I find that the toString() of an action fired by a Worker is prefixed sendAndAwaitApplication(com.squareup.workflow1.EmitWorkerOutputAction(worker=, and completely omits any name parameter provided to StatefulWorkflow.action() et al. Somewhere along the way with all this wrapping we've clobbered an important toString(), or failed to call it.

rjrjr avatar Mar 26 '21 23:03 rjrjr