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

deprecate "Async" method postfix

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      The nestdt compiler generates method names witnh "Async" following an older recommendation for async methods in NET. It also helped to distinguish between synchronous and async/await calls in the old "csharp" bindings.

      Because with modern NET versions common mainstream (and technically also the only possible way left) to call Thrift methods is now the async style, this postfix has become obsolete and starts to become a burden rather a feature.

      Hence, default should be to leave method mames undecorated and instead make the "Async" postfix a compatibility option that must be enabled explicitly.

       

      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