frostfs-api-go/status
Evgenii Stratonikov 1ec1762d3a
Some checks failed
DCO action / DCO (pull_request) Failing after 56s
Tests and linters / Tests with -race (pull_request) Successful in 1m10s
Tests and linters / Lint (pull_request) Successful in 1m15s
Tests and linters / Tests (pull_request) Successful in 1m29s
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:04:13 +03:00
..
grpc protogen: Always marshal empty fields 2024-10-07 15:04:13 +03:00
test [#28] Replace interface{} with any 2023-05-15 17:25:04 +03:00
convert.go [#113] go.mod: Use range over int 2024-09-04 15:44:59 +03:00
details.go [#369] status: Support WRONG_MAGIC_NUMBER code and detail 2022-01-27 16:53:16 +03:00
marshal.go [#51] *: Do not panic in StableSize() 2023-08-02 10:55:10 +03:00
message_test.go Rename package name 2023-03-07 13:42:36 +03:00
status.go [#118] status: Support INVALID_ARGUMENT status 2024-09-24 14:38:14 +03:00
types.go [#388] *: Remove nil check from setters 2022-03-31 11:32:04 +03:00