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;