Make SandDance work generically for Kusto (#12229)

* Make SandDance work generically for Kusto and Postgres

* Addressed comments

* removed param

Co-authored-by: Monica Gupta <mogupt@microsoft.com>
This commit is contained in:
Monica Gupta
2020-09-11 11:28:30 -07:00
committed by GitHub
parent a823e44393
commit f8d725e15b
4 changed files with 10 additions and 9 deletions

View File

@@ -111,9 +111,10 @@ export class MainThreadQueryEditor extends Disposable implements MainThreadQuery
}
}
public $registerQueryInfoListener(handle: number, providerId: string): void {
public $registerQueryInfoListener(handle: number): void {
this._register(this._queryModelService.onQueryEvent(event => {
this._proxy.$onQueryEvent(handle, event.uri, event);
let connectionProfile = this._connectionManagementService.getConnectionProfile(event.uri);
this._proxy.$onQueryEvent(connectionProfile?.providerName, handle, event.uri, event);
}));
}