Small fixes for protogen plugin #107

Merged
fyrchik merged 8 commits from fyrchik/frostfs-api-go:protogen-config into master 2024-09-04 19:51:17 +00:00
Showing only changes of commit 937a53683a - Show all commits

View file

@ -159,8 +159,6 @@ func emitJSONMarshal(g *protogen.GeneratedFile, msg *protogen.Message) {
g.P("case *", ff.GoIdent, ":")
emitJSONFieldWrite(g, ff, "xx", i == 0)
}
g.P("default:")
g.P(`out.RawString("null")`)
g.P("}")
continue
}