Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 329 by Grigand: Add support for [deprecated = true] on all types of definitions
http://code.google.com/p/protobuf/issues/detail?id=329

Please consider adding the ability to deprecate all types.  i.e.

message DeprecatedMessage {
  //deprecate the message
  option deprecated = true;
  ...
}

enum DeprecatedEnum {
  //deprecate the enumeration
  option deprecated = true;
  ...
  //deprecate an enumeration value
  one = 1 [deprecated = true];
}

service DeprecatedService {
  //deprecate an entire service api
  option deprecated = true;
  ...
  //deprecate a service method
  rpc Method(Request) returns (Response) [deprecated = true];
}

//maybe even support deprecating an entire file:
option deprecated = true;



--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to