go-sdk icon indicating copy to clipboard operation
go-sdk copied to clipboard

Maybe add middleware support for `AddServiceInvocationHandler` etc entry?

Open li1234yun opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. When I add service invocation handler, I want to deal some same operations. So I want to add the middleware support. Maybe you can think about it.

Describe the solution you'd like Maybe like gin middleware achieve, maybe need many same web frameware function achieve in the go-sdk.

Just an advice, Thanks!

li1234yun avatar Dec 12 '20 11:12 li1234yun

We have been considering providing integration into frameworks like gin vs replicating their functionality in the Dapr SDK. The Dapr SDK does support serving constructors with an existing mux so you could combine Go web frameworks to some degree already.

mchmarny avatar Dec 12 '20 12:12 mchmarny

We have been considering providing integration into frameworks like gin vs replicating their functionality in the Dapr SDK. The Dapr SDK does support serving constructors with an existing mux so you could combine Go web frameworks to some degree already.

Are there plans to support this feature? @mchmarny

rainfd avatar Dec 04 '21 15:12 rainfd