From 68c1506715d834c5ab274a622a67bab207936ac7 Mon Sep 17 00:00:00 2001 From: Jens Geyer Date: Tue, 4 Aug 2020 23:09:14 +0200 Subject: THRIFT-5261 Support for deprecated methods (via annotation) Client: Delphi Patch: Jens Geyer This closes #2213 --- test/AnnotationTest.thrift | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift index 7e24e1ccb..925832255 100644 --- a/test/AnnotationTest.thrift +++ b/test/AnnotationTest.thrift @@ -70,3 +70,11 @@ service foo_service { 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 +} + + -- cgit v1.2.1