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 a grpc query that returns a field with a google.protobuf.Any. At runtime it has the type url of: /ibc.lightclients.tendermint.v1.ClientState
The corresponding message it represents has the type url of: type.googleapis.com/ibc.lightclients.tendermint.v1.ClientState.
The discrepancy of type urls makes our registry not able to match these during the Any unpacking. Here is the logic that converts type urls to type names:
I have a grpc query that returns a field with a
google.protobuf.Any
. At runtime it has the type url of:/ibc.lightclients.tendermint.v1.ClientState
The corresponding message it represents has the type url of:
type.googleapis.com/ibc.lightclients.tendermint.v1.ClientState
.The discrepancy of type urls makes our registry not able to match these during the
Any
unpacking. Here is the logic that converts type urls to type names:protobuf-es/packages/protobuf-test/src/gen/js/google/protobuf/any_pb.js
Line 211 in f7375ad
This logic gives us:
Can
Any.prototype.typeUrlToName
be expanded to handle leading slashes?The text was updated successfully, but these errors were encountered: