frostfs-api-go/util/protogen/internalgengo
Evgenii Stratonikov 29c522d5d8 [#122] protogen: Always marshal empty fields
This is how it was done previously:
a0a9b765f3/rpc/message/encoding.go (L31)

The tricky part is `[]byte` which is marshaled as `null` by easyjson
helper, but as `""` by protojson.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-10-07 15:05:43 +03:00
..
file.go [#107] protogen: Unify oneof getters with default protoc plugin 2024-08-26 14:36:19 +03:00
fuzz.go [#77] protogen: Initial implementation 2024-08-19 10:47:00 +03:00
getter.go [#77] protogen: Initial implementation 2024-08-19 10:47:00 +03:00
json.go [#122] protogen: Always marshal empty fields 2024-10-07 15:05:43 +03:00
options.go [#77] protogen: Initial implementation 2024-08-19 10:47:00 +03:00
proto.go [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
proto_field_type.go [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
proto_stable_compat.go [#111] protogen: Emit slice of messages without a pointer 2024-08-28 11:53:08 +03:00
writer.go [#77] protogen: Initial implementation 2024-08-19 10:47:00 +03:00