You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2023/03/17 22:32:00 UTC

[jira] [Updated] (THRIFT-5692) Support for deprecated methods (via annotation)

     [ https://issues.apache.org/jira/browse/THRIFT-5692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer updated THRIFT-5692:
-------------------------------
    Component/s: Haxe - Compiler
                     (was: Delphi - Compiler)

> Support for deprecated methods (via annotation)
> -----------------------------------------------
>
>                 Key: THRIFT-5692
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5692
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Haxe - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.14.0
>
>
> Delphi offers the option to mark e.g. methods as being deprecated, optionally including some helpful comment how to migrate the code. This should be supported via a generic "deprecated" annotation, like so:
> {code}
> service deprecate_everything {
>   void Foo( ) ( deprecated = "Use Bar() instead" )
>   void Bar( ) ( deprecated )  // no comment this time
> }
> {code}
> Other languages are invited to "jump in" and support this annotation as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)