You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Eugen Kandakov (Jira)" <ji...@apache.org> on 2019/11/04 12:19:00 UTC

[jira] [Created] (THRIFT-4994) TWebSocketTransport false scope in forEach in browser

Eugen Kandakov created THRIFT-4994:
--------------------------------------

             Summary: TWebSocketTransport false scope in forEach in browser
                 Key: THRIFT-4994
                 URL: https://issues.apache.org/jira/browse/THRIFT-4994
             Project: Thrift
          Issue Type: Bug
          Components: JavaScript - Library
    Affects Versions: 0.13.0
         Environment: Webpack 4.41.2

Thrift 0.13.0

NodeJS thrift lib required in browser env

 
            Reporter: Eugen Kandakov


NodeJS Client in browser with Bundler (e.g. Webpack)

When importing/requiring TWebSocketTransport for use in browser, the function throws an error if some call were made before the connection was fully open. 

Wrong scope in foreach with `{{this`}}



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