Open Segflow opened 3 years ago
After reading the code, I believe that once we register a type, struct field encoder/decoder, they get registered globally.
Any reason for this?
How can I have different encoder for the same type? let's say endpoint A needs to encode a type X in a way different then how endpoint B.
After reading the code, I believe that once we register a type, struct field encoder/decoder, they get registered globally.
Any reason for this?
How can I have different encoder for the same type? let's say endpoint A needs to encode a type X in a way different then how endpoint B.