[ 
https://issues.apache.org/jira/browse/THRIFT-4994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966621#comment-16966621
 ] 

Mario Emmenlauer commented on THRIFT-4994:
------------------------------------------

We also see this issue in webpack. Thanks for the PR!

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to