mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 17:23:53 -05:00
Adds build connection info feature (#2192)
* connection string * formatting * change serailize reponse type to match connect params * add connection string serialization * readd the connection string to the connection widget * format * remove unnecessary change * update serializer to require provider * update name of function * fix function name * bump dataprotocol and sqltools * revert unnecessary change * remove more unnecessary chagnes * bump sqltoolsserivce * adde configuration for auto parsing the clipboard
This commit is contained in:
committed by
Karl Burtram
parent
21c4429c6e
commit
033c8cb8b1
@@ -1366,4 +1366,14 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Serialize connection with options provider
|
||||
* TODO this could be a map reduce operation
|
||||
*/
|
||||
public buildConnectionInfo(connectionString: string, provider: string): Thenable<sqlops.ConnectionInfo> {
|
||||
return this._providers.get(provider).onReady.then(e => {
|
||||
return e.buildConnectionInfo(connectionString);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user