Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4994

TWebSocketTransport false scope in forEach in browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Node.js - Library
    • None
    • Webpack 4.41.2

      Thrift 0.13.0

      NodeJS thrift lib required in browser env

       

    • Patch Available
    • Patch, Important

    Description

      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`

      Attachments

        Issue Links

          Activity

            People

              alabama Eugen Kandakov
              alabama Eugen Kandakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m