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
Is your feature request related to a problem? Please describe.
In #924 we added support to optionally move message and stack trace into encoded attributes. We need to support this for proxies too.
Describe the solution you'd like
Probably best to alter https://github.com/temporalio/sdk-go/blob/master/internal/cmd/generateinterceptor/main.go to add EncodeCommonAttributes bool to PayloadCodecGRPCClientInterceptorOptions and, if true, move the message and stack trace to the encoded attributes pre-encode (and back out post-decode). This will allow proxies using this interceptor to support encoded failure attributes transparently via the interceptor in the way that's understandable in the UI.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In #924 we added support to optionally move message and stack trace into encoded attributes. We need to support this for proxies too.
Describe the solution you'd like
Probably best to alter https://github.com/temporalio/sdk-go/blob/master/internal/cmd/generateinterceptor/main.go to add
EncodeCommonAttributes bool
toPayloadCodecGRPCClientInterceptorOptions
and, iftrue
, move the message and stack trace to the encoded attributes pre-encode (and back out post-decode). This will allow proxies using this interceptor to support encoded failure attributes transparently via the interceptor in the way that's understandable in the UI.The text was updated successfully, but these errors were encountered: