Skip to content

Commit

Permalink
Revert EmitUnpopulated back to true in server/server.go
Browse files Browse the repository at this point in the history
- Logic for which fields to output can be handled in the client
  • Loading branch information
lbeckman314 committed Nov 2, 2023
1 parent e9b1914 commit d275a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (s *Server) Serve(pctx context.Context) error {
// grpcMux := runtime.NewServeMux(runtime.WithMarshalerOption("*/*", &mar))
m := protojson.MarshalOptions{
Indent: " ",
EmitUnpopulated: false,
EmitUnpopulated: true,
UseProtoNames: true,
}
u := protojson.UnmarshalOptions{}
Expand Down

0 comments on commit d275a02

Please sign in to comment.