I use Temporal in OCaml with a custom SDK. My protobuf library does not have any way to encode protobuf in the special JSON encoding of protobuf defined in the spec. I however want to use protobuf to share my types between Go and OCaml, because most of my activities are in OCaml and most workflow definitions are in Go.
Is there any way to have the UI display a meaningful string serialisation (possibly JSON) of my protobuf payloads? I looked at codec server docs but it seems only for pure compression/encryption without context, i.e. the server does not know what is the type (in the protobuf sense) of the data it is operating on.
Edit: Seems like there is a way to manage something with the codec server exploiting payload metadata like messageType metadata fields? Not sure if the Go SDK adds them by default.
Best,
Vincent