taskq icon indicating copy to clipboard operation
taskq copied to clipboard

Can't pass nil argument to Message handler that has an interface parameter

Open shaunco opened this issue 3 years ago • 0 comments

When a Task is regsistered where the Handler has input parameters that are interface types, queue entries constructed via myTask.WithArgs(nil) will cause a panic when fnArgs in handler.go tries to pass an untyped nil as the interface type's zero (nil) value.

shaunco avatar Nov 20 '21 23:11 shaunco