hazelcast-nodejs-client icon indicating copy to clipboard operation
hazelcast-nodejs-client copied to clipboard

Remove createDistributedObjectsOnCluster from client start [API-1224]

Open puzpuzpuz opened this issue 5 years ago • 1 comments

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.

puzpuzpuz avatar Nov 18 '20 12:11 puzpuzpuz

Internal Jira issue: API-1224

github-actions[bot] avatar Feb 18 '22 09:02 github-actions[bot]