Describe the bug
setting autoConnect to false will still cause an auto connect. This is, because autoConnect is implemented in DDP and Meteor.connect and while in DDP class it will respect the autoConnect flag, it won't in Meteor connect.
To Reproduce
Meteor.connect(url, {
...
autoConnect: false,
...
})
const Data = Meteor.getData()
Data.ddp.on('connected', () => {
console.debug('this should never fire')
})
Expected behavior
autoConnect set to false should prevent auto connect.
Describe the bug
setting
autoConnectto false will still cause an auto connect. This is, because autoConnect is implemented in DDP and Meteor.connect and while in DDP class it will respect theautoConnectflag, it won't in Meteor connect.To Reproduce
Expected behavior
autoConnectset to false should prevent auto connect.