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

Jens Geyer resolved THRIFT-5396.
--------------------------------
    Fix Version/s: 0.15.0
       Resolution: Fixed

> deprecate "Async" method postfix
> --------------------------------
>
>                 Key: THRIFT-5396
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5396
>             Project: Thrift
>          Issue Type: Improvement
>          Components: netstd - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>              Labels: breaking_change
>             Fix For: 0.15.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to