I have quick question for modifying type of field for protobuf. I have create the int64 id something like below.
message test {
int64 id = 1;
}
And I find out I can not set this id as null because of the type. Therefore, I would like to modify it from int64 to int64value but do not sure is there any standard way for this kind of operation.
message test {
// int64 id = 1;
int64value id = 2;
}
or
message test {
int64 id = 1 [deprecated=true];
int64value id = 2;
}
Thanks and open to any kind of input!
I would like to get more standard way for this kind of operation.