this repo is meant to show how the go sdk offers the wrong error message when you run it.
- have temporal server running
go run worker/worker.go
go run starter/starter.go
when running you should see this error: PanicError reflect: Call with too few input arguments PanicStack activity for my-queue [panic]
This happens because MyActivity
uses workflow.Context
as its first argument, instead of Go's native context.Context
. Once you fix this, the code runs as expected.
The problem here is that the error Call with too few input arguments
is incorrect/misleading.