[
https://issues.apache.org/jira/browse/THRIFT-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-5518:
-------------------------------
Component/s: JavaScript - Compiler
> Remove promise implementation with Q and dependency to Q.
> ---------------------------------------------------------
>
> Key: THRIFT-5518
> URL: https://issues.apache.org/jira/browse/THRIFT-5518
> Project: Thrift
> Issue Type: Improvement
> Components: JavaScript - Compiler
> Affects Versions: 0.16.0
> Reporter: Axel
> Priority: Minor
>
> When generating a javascript-api without ES6, the Q library for promises is
> used. All supported runtimes are supporting ES6-style promises and the Q
> library is basically no longer beeing worked on. This allows the removal of Q
> also for users who are using ES6 style promises. Currently, Q is always
> included as dependency.
> My suggestion is to no longer generate q-based promise methods at all if ES6
> is not set, but callbacks only.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)