We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e27ab3d commit 0ea4eb1Copy full SHA for 0ea4eb1
v3/gen/pbdata/func.go
@@ -85,7 +85,7 @@ func tableValue2PbValue(globals *model.Globals, cellValue string, valueType *mod
85
if globals.Types.IsEnumKind(pbType) {
86
87
if cellValue == "" {
88
- return protoreflect.ValueOfInt32(0)
+ return protoreflect.ValueOfEnum(protoreflect.EnumNumber(0))
89
}
90
enumValue := globals.Types.ResolveEnumValue(pbType, cellValue)
91
0 commit comments