Skip to content

Commit 70e8ce0

Browse files
martin-fleck-attortmayr
authored andcommitted
Ensure JsonrpcClientProxy is injectable in the Node Server context
Contributed on behalf of Axon Ivy AG Part of eclipse-glsp/glsp#1381
1 parent 502cb2f commit 70e8ce0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/server/src/common/reexport.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
********************************************************************************/
1616

17+
import { JsonrpcClientProxy } from '@eclipse-glsp/protocol';
18+
import { decorate, injectable } from 'inversify';
19+
1720
export * from '@eclipse-glsp/graph';
1821
export * from '@eclipse-glsp/protocol';
1922
export * from '@eclipse-glsp/protocol/lib/di';
23+
decorate(injectable(), JsonrpcClientProxy);

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@
310310
prettier-plugin-packagejson "~2.4.6"
311311

312312
"@eclipse-glsp/protocol@next":
313-
version "2.3.0-next.374"
314-
resolved "https://registry.yarnpkg.com/@eclipse-glsp/protocol/-/protocol-2.3.0-next.374.tgz#9323d1841427f6dbf5fa66dbe1ef3dce4d596b10"
315-
integrity sha512-ENZO29yLO7l5asyaDpvkQanGj5jDXGBkvQbZU+D4ULKmvWvDWYle+BBSKMxl7sI6L77tz7kGBLMEhAuhRky4kg==
313+
version "2.3.0-next.375"
314+
resolved "https://registry.yarnpkg.com/@eclipse-glsp/protocol/-/protocol-2.3.0-next.375.tgz#b1594533993e7f74d4177314489e7312906e8986"
315+
integrity sha512-RoO9/EoeG4NZV8eQZU6L+JVDFuzwx31imHxsdOB3oRdvVhgciFz9NQKjhIQn3M+URABSFsV6QBLSJfFTmfO8yA==
316316
dependencies:
317317
sprotty-protocol "1.2.0"
318318
uuid "~10.0.0"

0 commit comments

Comments
 (0)