[ https://issues.apache.org/jira/browse/TINKERPOP-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jorge Bay closed TINKERPOP-2130. -------------------------------- Resolution: Fixed > Cannot instantiate DriverRemoteConnection without passing an options object > --------------------------------------------------------------------------- > > Key: TINKERPOP-2130 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2130 > Project: TinkerPop > Issue Type: Improvement > Components: javascript > Affects Versions: 3.4.0, 3.3.5 > Reporter: Niv Sherf > Priority: Minor > Fix For: 3.3.6, 3.4.1 > > > In gremlin-javascript, when instantiating a new DriverRemoteConnection > without passing an options object, a TypeError is thrown. This is a breaking > change introduced in v3.4.0. > For example: > {code:java} > const dc = new DriverRemoteConnection(process.env.GRAPH_URL);{code} > The above code results in an error being thrown: > {noformat} > TypeError: Cannot read property 'reader' of undefined{noformat} > This works fine: > {code:java} > const dc = new DriverRemoteConnection(process.env.GRAPH_URL, {});{code} > Both calls work correctly when using 3.3.4. -- This message was sent by Atlassian JIRA (v7.6.3#76005)