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

Allow passing in custom `Converter` instances

Open cschleiden opened this issue 2 years ago • 1 comments

Currently all workflow/activity arguments and results are marshaled using encoding/json. It should be possible to use custom converters to, for example, support binary formats.

cschleiden avatar Jun 15 '22 15:06 cschleiden

This is an interesting idea I also stumbled upon while looking at some of the original converter code! Specifically, I was thinking about a Protobuf serialization use case and wondering how I might use something like encoding/protojson instead of the default encoding/json.

zaataylor avatar Jun 15 '22 16:06 zaataylor