From 19247e8941d9f80122746a01a065729a68ec58e7 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 9 Aug 2024 10:22:13 +0300 Subject: [PATCH] [#103] protogen: Handle uint32 type Signed-off-by: Evgenii Stratonikov --- util/protogen/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/protogen/main.go b/util/protogen/main.go index 1a287ba..0f2a7ca 100644 --- a/util/protogen/main.go +++ b/util/protogen/main.go @@ -229,7 +229,8 @@ type marshalerDesc struct { var marshalers = map[protoreflect.Kind]marshalerDesc{ protoreflect.BoolKind: {Prefix: "Bool"}, protoreflect.EnumKind: {Prefix: "Enum"}, - // protoreflect.Int32Kind: "", + + protoreflect.Int32Kind: {Prefix: "Int32", RepeatedDouble: true}, // protoreflect.Sint32Kind: "", protoreflect.Uint32Kind: {Prefix: "UInt32", RepeatedDouble: true}, protoreflect.Int64Kind: {Prefix: "Int64", RepeatedDouble: true},