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
In ts-proto, the code below doesn't pass values properly or throws an error.
The struct_pb in google-protobuf are not compatible because they have different types.
When using a WellKnownType of
google-protobuf
, can pass a value from the client tofromJavaScript
as shown below.Reference
In
ts-proto
, the code below doesn't pass values properly or throws an error.The struct_pb in
google-protobuf
are not compatible because they have different types.https://github.com/stephenh/ts-proto#highlights
https://developers.google.com/protocol-buffers/docs/proto3#json
Depending on proto3 json mapping, it looks like
fromJSON
will also work likefromJavaScript
or a separate method needs to be added.The text was updated successfully, but these errors were encountered: