Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.2.0-alpha.2
-
None
-
1
Description
async start(): Promise<void>
{ await this.ensureCollections(); await this.ensureIndexes(); }this throw a TypeError on alpha:
TypeError: queryindexmanager_1.QueryIndexManager is not a constructor
In sdk library couchbase/dist/cluster.js Cluster.queryIndexes() method is called:
queryIndexes()
{ // Wrong invocation of QueryIndexManager should be: // return new queryindexmanager_1(this); // that solve the TypeError return new queryindexmanager_1.QueryIndexManager(this); // current implementation }