You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Philip Frank (JIRA)" <ji...@apache.org> on 2018/03/16 13:55:00 UTC
[jira] [Created] (THRIFT-4520) Modernize JS/node
Philip Frank created THRIFT-4520:
------------------------------------
Summary: Modernize JS/node
Key: THRIFT-4520
URL: https://issues.apache.org/jira/browse/THRIFT-4520
Project: Thrift
Issue Type: Wish
Components: JavaScript - Compiler, JavaScript - Library, Node.js - Compiler, Node.js - Library
Reporter: Philip Frank
This is just a wishlist for now, I consider tackling some of the points when I have downtime. As [~jking3] proposed, these incompatible changes would live in separate "js2" and "node2" directories. Feedback and additions are welcome!
* De-duplicte implementations of JS and node, including:
** Thrift.TJSONProtocol
** Thrift.MultiplexProtocol
** Thrift.Type
** Thrift.MessageType
** various Exception types
* Drop support for synchronous service calls (js+node), jquery based calls (js) and maybe even async "callback as last argument" calls; embrace Promise as return value
* integrate JS with "make cross" test suite, possibly using karma and chrome-headless, drop grunt/phantom-based test workflow
* Bonus: publish smaller npm packages for browser and node, which include only the lib
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)