We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c6a597 commit 145bda2Copy full SHA for 145bda2
1 file changed
src/wrappers.js
@@ -47,7 +47,7 @@ wrappers[".google.protobuf.Any"] = {
47
if (type)
48
return this.create({
49
type_url: object["@type"],
50
- value: type.encode(object).finish()
+ value: type.encode(type.fromObject(object)).finish()
51
});
52
}
53
0 commit comments