hazelcast-nodejs-client
hazelcast-nodejs-client copied to clipboard
Remove createDistributedObjectsOnCluster from client start [API-1224]
On client start it tries to create remote data structures for local proxies. See: https://github.com/hazelcast/hazelcast-nodejs-client/blob/d6807692ef8824d15e73dcfb68141867d7330cc2/src/HazelcastClient.ts#L463
But in fact this call doesn't seem to do anything valuable. Local proxies can be obtained only via a client object, i.e. via await client.getProxyType('proxy-name') call. This means that the user must start the client first.
We should consider removing that call from the client start logic.
Internal Jira issue: API-1224