Jens Geyer created THRIFT-5396:
----------------------------------
Summary: 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
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)