THRIFT-5261 Support for deprecated methods (via annotation)
Client: Delphi
Patch: Jens Geyer
This closes #2213
diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift
index 7e24e1c..9258322 100644
--- a/test/AnnotationTest.thrift
+++ b/test/AnnotationTest.thrift
@@ -70,3 +70,11 @@
void foo() ( foo = "bar" )
} (a.b="c")
+service deprecate_everything {
+ void Foo( ) ( deprecated = "This method has neither 'x' nor \"y\"" )
+ void Bar( ) ( deprecated = "Fails to deliver 中文 колбаса" )
+ void Baz( ) ( deprecated = "Need this to work with tabs (\t) or Umlauts (äöüÄÖÜß) too" )
+ void Deprecated() ( deprecated ) // no comment
+}
+
+