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
I have some doubts about the T.W.I.R.P. software. It calls the proto buf package functions proto.Marshal and proto.Unmarshal to serialize the data. Is that the right object oriented go way to do this? Would it not be better to use an interface so that other serialization packages could be used? Kindly include my solution to support the Marshal and Unmarshal interfaces.
I think you are talking about Protobuf. The new version of the proto package implements the Marshal interface as you would expect, but Twirp is still using the older version of it. There's another issue already mentioning this issue: #222
I have some doubts about the T.W.I.R.P. software. It calls the proto buf package functions proto.Marshal and proto.Unmarshal to serialize the data. Is that the right object oriented go way to do this? Would it not be better to use an interface so that other serialization packages could be used? Kindly include my solution to support the Marshal and Unmarshal interfaces.
marshal.zip
The text was updated successfully, but these errors were encountered: