protoc-gen-gorm icon indicating copy to clipboard operation
protoc-gen-gorm copied to clipboard

serializer tag

Open baryluk opened this issue 2 years ago • 0 comments

That would be nice:

message Alert {
  map<string, string> other_labels = 14 [(gorm.field).tag = {serializer: "json"}];
  int64 createdTime = 15 [(gorm.field).tag = {serializer: "unixtime" type: "time"}];
}

https://gorm.io/docs/serializer.html

baryluk avatar May 06 '22 16:05 baryluk