fullstorydev / fullstorydev/grpcurl
How to send and receive "google.protobuf.Any"?
- Dominant language
- Go
- Stars
- 12.8k
- Forks
- 580
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 5
Description
Here is the protobuf message:
message MergeResourcesRequest {
ResourceType type = 1;
repeated google.protobuf.Any resources = 2;
}
How can we fire this message to ther server with grpcurl? As it reports follow error:
Error invoking method "utsv.event.api.v1.EventService/MergeResources": error getting request data: unknown message type "utsv.event.api.v1.resources.Merchant"
Here ist eh json:
{
"type" : 15,
"resources" : [
{
"@type": "type.googleapis.com/utsv.event.api.v1.resources.Merchant",
"id" : 123,
"code" : "Merchant",
"name": {
"en": "desc en",
"zh": "desc tw"
}
}
]
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.