what's the `@SerialId` used for protobuf good for?...
# serialization
t
what's the
@SerialId
used for protobuf good for? are there any hints about how it should be used?
s
mainly for compatibility with external
.proto
schemas
t
so is it ok, when i simply go over all calsses that are
@Serializable
and put
@SeroialId
somwhere on them (given, that i wont use a thirdpart applycation to deserialzie my stuff)?
s
they're assigned automatically based on an order in the source file
so until you want some stability between versions (when you reorder fields etc), you can omit them
t
wow that's great!