diff options
author | Jens Geyer <jensg@apache.org> | 2020-08-04 23:09:14 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2020-08-05 11:55:00 +0200 |
commit | 68c1506715d834c5ab274a622a67bab207936ac7 (patch) | |
tree | 6f51b8289651a568e71fb6611e79de5fef76d87d /test | |
parent | b93fafd327f6de0f4c7496da5dfd5e8c5d8fe499 (diff) | |
download | thrift-68c1506715d834c5ab274a622a67bab207936ac7.tar.gz |
THRIFT-5261 Support for deprecated methods (via annotation)
Client: Delphi
Patch: Jens Geyer
This closes #2213
Diffstat (limited to 'test')
-rw-r--r-- | test/AnnotationTest.thrift | 8 |
1 files changed, 8 insertions, 0 deletions
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 +} + + |