File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ message DeprecatedMessage {
181181
182182 optional string a_string = 1 ;
183183 optional string deprecated_field = 2 [deprecated = true ];
184+ // This field is deprecated with comment
185+ optional string deprecated_field_with_comment = 3 [deprecated = true ];
184186}
185187
186188message DeprecatedMessageBadComment {
Original file line number Diff line number Diff line change @@ -257,3 +257,4 @@ testproto.grpc.dummy_pb2_grpc.EmptyServiceStub.__init__
257257# Because we generate message fields as properties when deprecated they do not exist at runtime
258258testproto.grpc.dummy_pb2.DeprecatedRequest.old_field
259259testproto.test_pb2.DeprecatedMessage.deprecated_field
260+ testproto.test_pb2.DeprecatedMessage.deprecated_field_with_comment
You can’t perform that action at this time.
0 commit comments