Improve roundtrip behavior of rpc methods.

Methods without options have three ways of ending their definition: {}, ;, and {};.  This tracks this choice in metadata and restores it when writing.

PiperOrigin-RevId: 582903253
pull/14772/head
Mike Kruskal 1 year ago committed by Copybara-Service
parent 26dcf400fa
commit 51a25365a0
  1. 2
      src/google/protobuf/editions/golden/editions_transform_proto2.proto

@ -34,7 +34,7 @@ service EmptyService {
} }
service BasicService { service BasicService {
rpc BasicMethod(EmptyMessage) returns (EmptyMessage); rpc BasicMethod(EmptyMessage) returns (EmptyMessage) {}
} }
// clang-format off // clang-format off

Loading…
Cancel
Save