hypha-rpc 0.20.12 → 0.20.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -706,12 +706,13 @@ class RPC extends _utils__WEBPACK_IMPORTED_MODULE_0__.MessageEmitter {
|
|
|
706
706
|
|
|
707
707
|
_extract_service_info(service) {
|
|
708
708
|
const config = service.config || {};
|
|
709
|
-
config.workspace =
|
|
709
|
+
config.workspace =
|
|
710
|
+
config.workspace || this._local_workspace || this._connection.workspace;
|
|
710
711
|
const skipContext = config.require_context;
|
|
711
712
|
const serviceSchema = _get_schema(service, null, skipContext);
|
|
712
713
|
const serviceInfo = {
|
|
713
714
|
config: config,
|
|
714
|
-
id: `${this._client_id}:${service["id"]}`,
|
|
715
|
+
id: `${config.workspace}/${this._client_id}:${service["id"]}`,
|
|
715
716
|
name: service.name || service["id"],
|
|
716
717
|
description: service.description || "",
|
|
717
718
|
type: service.type || "generic",
|