Hello Mates,
I am working API development, we are using GRPC.
Which protobuf has CultureInfo? I need define in message in proto file?
message GetExpDatRequest
{
string Id
cultureInfo cultureInfo_ = 1
}
Hello Mates,
I am working API development, we are using GRPC.
Which protobuf has CultureInfo? I need define in message in proto file?
message GetExpDatRequest
{
string Id
cultureInfo cultureInfo_ = 1
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Feb 1, 2024, 5:55 PM
Rajanikant HawaldarPosted Feb 1, 2024, 10:35 AM
Hi Jayraj,
Currently I am using string only
Jayraj ChhayaPosted Feb 1, 2024, 9:39 AM
In GRPC Protobufs, there is no built-in protobuf message type for CultureInfo. However, you can still include CultureInfo information in your GRPC Protobuf messages by using a string field to represent the culture identifier.
To define CultureInfo in your proto file, you can modify your
GetExpDatRequestmessage as follows: