Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5261

Support for deprecated methods (via annotation)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Delphi - Compiler
    • None

    Description

      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:

      service deprecate_everything {
        void Foo( ) ( deprecated = "Use Bar() instead" )
        void Bar( ) ( deprecated )  // no comment this time
      }
      

      Other languages are invited to "jump in" and support this annotation as well.

      Attachments

        Issue Links

          Activity

            People

              jensg Jens Geyer
              jensg Jens Geyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m