@finos/legend-extension-dsl-data-space 1.1.15 → 1.1.16

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.
@@ -13,7 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { PureModel } from '@finos/legend-graph';
16
+ import type { BasicModel, PureModel } from '@finos/legend-graph';
17
17
  import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
18
18
  export declare const getDataSpace: (path: string, graph: PureModel) => DataSpace;
19
+ export declare const getOwnDataSpace: (path: string, graph: BasicModel) => DataSpace;
19
20
  //# sourceMappingURL=DSLDataSpace_GraphManagerHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,MAAM,SAAS,SAAS,KAAG,SACiB,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_GraphManagerHelper.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,MAAM,SAAS,SAAS,KAAG,SACiB,CAAC;AAEhF,eAAO,MAAM,eAAe,SAAU,MAAM,SAAS,UAAU,KAAG,SAI/D,CAAC"}
@@ -13,6 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ import { guaranteeNonNullable } from '@finos/legend-shared';
16
17
  import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
17
18
  export const getDataSpace = (path, graph) => graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
19
+ export const getOwnDataSpace = (path, graph) => guaranteeNonNullable(graph.getOwnNullableExtensionElement(path, DataSpace), `Can't find data space '${path}'`);
18
20
  //# sourceMappingURL=DSLDataSpace_GraphManagerHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AAEjH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,KAAgB,EAAa,EAAE,CACxE,KAAK,CAAC,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,0BAA0B,IAAI,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_GraphManagerHelper.js","sourceRoot":"","sources":["../../src/graphManager/DSLDataSpace_GraphManagerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AAEjH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAE,KAAgB,EAAa,EAAE,CACxE,KAAK,CAAC,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,0BAA0B,IAAI,GAAG,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,KAAiB,EAAa,EAAE,CAC5E,oBAAoB,CAClB,KAAK,CAAC,8BAA8B,CAAC,IAAI,EAAE,SAAS,CAAC,EACrD,0BAA0B,IAAI,GAAG,CAClC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-data-space v1.1.15
1
+ /** @license @finos/legend-extension-dsl-data-space v1.1.16
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,7 +17,7 @@ import { V1_DataSpace } from './v1/model/packageableElements/dataSpace/V1_DSLDat
17
17
  import { type PlainObject } from '@finos/legend-shared';
18
18
  import { type DataSpaceSupportInfo } from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
19
19
  import { type Mapping, type PackageableElementReference, type PackageableRuntime, type PureModel, type V1_ElementProtocolClassifierPathGetter, type V1_ElementProtocolDeserializer, type V1_ElementProtocolSerializer, type V1_ElementTransformer, type V1_PackageableElement, type V1_PureModelContextData, PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
20
- import { Diagram } from '@finos/legend-extension-dsl-diagram';
20
+ import { type Diagram } from '@finos/legend-extension-dsl-diagram';
21
21
  export declare const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = "meta::pure::metamodel::dataSpace::DataSpace";
22
22
  export declare class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
23
23
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EACL,KAAK,oBAAoB,EAI1B,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EACL,KAAK,OAAO,E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,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAE,iCAAiC,EAAE,CAAM;IAC5D,uBAAuB,EAAG,iCAAiC,CAAC;IAC5D,gBAAgB,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAAE,CAAM;IAC9D,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;CAChD;AAED,eAAO,MAAM,oBAAoB,SACzB,YAAY,YAAY,CAAC,SACxB,SAAS,KACf,iBAkGF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,YAAY,YAAY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,YAAY,EAGb,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EACL,KAAK,oBAAoB,EAI1B,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EACL,KAAK,OAAO,EAEZ,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAG1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAS5B,2BAA2B,EAC3B,iBAAiB,EAIlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,OAAO,EAGb,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,kCAAkC,gDACA,CAAC;AAEhD,qBAAa,wCAAyC,SAAQ,2BAA2B;;IAQ9E,0BAA0B,IAAI,iBAAiB,CAAC,qBAA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AY,CAAC,KAC9B,MAAM,EA6BR,CAAC"}
@@ -19,10 +19,10 @@ import { V1_DataSpace, V1_DataSpaceExecutionContext, V1_DataSpaceSupportEmail, }
19
19
  import { uuid, guaranteeNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, isNonNullable, assertType, } from '@finos/legend-shared';
20
20
  import { deserialize, serialize } from 'serializr';
21
21
  import { V1_dataSpaceModelSchema, V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE, } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper';
22
- import { getDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
22
+ import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
23
23
  import { DataSpace, DataSpaceExecutionContext, DataSpaceSupportEmail, } from '../../metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
24
- import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, V1_PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_StereotypePtr, } from '@finos/legend-graph';
25
- import { Diagram, V1_DSLDiagram_PackageableElementPointerType, } from '@finos/legend-extension-dsl-diagram';
24
+ import { V1_taggedValueSchema, PackageableElementExplicitReference, V1_PackageableElementPointer, V1_PackageableElementPointerType, V1_buildTaggedValue, V1_transformStereotype, V1_transformTaggedValue, PureProtocolProcessorPlugin, V1_ElementBuilder, V1_initPackageableElement, V1_StereotypePtr, V1_buildFullPath, } from '@finos/legend-graph';
25
+ import { V1_DSLDiagram_PackageableElementPointerType, getDiagram, } from '@finos/legend-extension-dsl-diagram';
26
26
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH = 'meta::pure::metamodel::dataSpace::DataSpace';
27
27
  export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
28
28
  constructor() {
@@ -36,14 +36,14 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
36
36
  firstPass: (elementProtocol, context) => {
37
37
  assertType(elementProtocol, V1_DataSpace);
38
38
  const element = new DataSpace(elementProtocol.name);
39
- const path = context.currentSubGraph.buildPath(elementProtocol.package, elementProtocol.name);
39
+ const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
40
40
  context.currentSubGraph.setOwnElementInExtension(path, element, DataSpace);
41
41
  return element;
42
42
  },
43
43
  secondPass: (elementProtocol, context) => {
44
44
  assertType(elementProtocol, V1_DataSpace);
45
- const path = context.graph.buildPath(elementProtocol.package, elementProtocol.name);
46
- const element = getDataSpace(path, context.graph);
45
+ const path = V1_buildFullPath(elementProtocol.package, elementProtocol.name);
46
+ const element = getOwnDataSpace(path, context.currentSubGraph);
47
47
  element.stereotypes = elementProtocol.stereotypes
48
48
  .map((stereotype) => context.resolveStereotype(stereotype))
49
49
  .filter(isNonNullable);
@@ -217,7 +217,7 @@ export const getResolvedDataSpace = (json, graph) => {
217
217
  guaranteeNonEmptyString(protocol.defaultExecutionContext, `Data space 'defaultExecutionContext' field is missing or empty`)), `Can't find default execution context '${protocol.defaultExecutionContext}'`);
218
218
  dataSpace.description = protocol.description;
219
219
  if (protocol.featuredDiagrams) {
220
- dataSpace.featuredDiagrams = protocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(graph.getExtensionElement(pointer.path, Diagram)));
220
+ dataSpace.featuredDiagrams = protocol.featuredDiagrams.map((pointer) => PackageableElementExplicitReference.create(getDiagram(pointer.path, graph)));
221
221
  }
222
222
  if (protocol.supportInfo) {
223
223
  if (protocol.supportInfo instanceof V1_DataSpaceSupportEmail) {
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAA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,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
1
+ {"version":3,"file":"DSLDataSpace_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDataSpace_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AACtE,OAAO,EACL,YAAY,EACZ,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAEL,IAAI,EACJ,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,uBAAuB,EACvB,mCAAmC,GACpC,MAAM,iEAAiE,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAC;AACxF,OAAO,EAEL,SAAS,EACT,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,kFAAkF,CAAC;AAC1F,OAAO,EAeL,oBAAoB,EACpB,mCAAmC,EACnC,4BAA4B,EAC5B,gCAAgC,EAChC,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,2CAA2C,EAC3C,UAAU,GACX,MAAM,qCAAqC,CAAC;AAE7C,MAAM,CAAC,MAAM,kCAAkC,GAC7C,6CAA6C,CAAC;AAEhD,MAAM,OAAO,wCAAyC,SAAQ,2BAA2B;IACvF;QACE,KAAK,CACH,WAAW,CAAC,UAAU,CAAC,2BAA2B,EAClD,WAAW,CAAC,OAAO,CACpB,CA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C;qBAC5B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;qBACjC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;YAClD,CAAC,CAAC,CAAC;SACN;KACF;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -50,15 +50,11 @@
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-studio": "workspace:*",
52
52
  "@types/react": "17.0.43",
53
- "@types/react-router-dom": "5.3.2",
54
53
  "mobx": "6.5.0",
55
54
  "mobx-react-lite": "3.3.0",
56
- "monaco-editor": "0.33.0",
57
55
  "react": "17.0.2",
58
56
  "react-dom": "17.0.2",
59
57
  "react-resize-detector": "7.0.0",
60
- "react-router": "5.2.1",
61
- "react-router-dom": "5.3.0",
62
58
  "serializr": "2.0.5"
63
59
  },
64
60
  "devDependencies": {
@@ -68,7 +64,7 @@
68
64
  "jest": "27.5.1",
69
65
  "npm-run-all": "4.1.5",
70
66
  "rimraf": "3.0.2",
71
- "sass": "1.50.0",
67
+ "sass": "1.50.1",
72
68
  "typescript": "4.6.3"
73
69
  },
74
70
  "peerDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-data-space",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Legend extension for Data Space DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -40,35 +40,31 @@
40
40
  "test:watch": "jest --watch"
41
41
  },
42
42
  "dependencies": {
43
- "@finos/legend-application": "2.0.13",
44
- "@finos/legend-art": "0.3.17",
45
- "@finos/legend-extension-dsl-diagram": "1.0.35",
46
- "@finos/legend-graph": "4.0.3",
47
- "@finos/legend-model-storage": "0.0.29",
48
- "@finos/legend-query": "1.3.11",
49
- "@finos/legend-server-depot": "0.0.32",
50
- "@finos/legend-shared": "1.3.0",
51
- "@finos/legend-studio": "7.0.2",
43
+ "@finos/legend-application": "2.0.14",
44
+ "@finos/legend-art": "0.3.18",
45
+ "@finos/legend-extension-dsl-diagram": "1.0.36",
46
+ "@finos/legend-graph": "5.0.0",
47
+ "@finos/legend-model-storage": "0.0.30",
48
+ "@finos/legend-query": "1.3.12",
49
+ "@finos/legend-server-depot": "0.0.33",
50
+ "@finos/legend-shared": "1.3.1",
51
+ "@finos/legend-studio": "8.0.0",
52
52
  "@types/react": "17.0.43",
53
- "@types/react-router-dom": "5.3.2",
54
53
  "mobx": "6.5.0",
55
54
  "mobx-react-lite": "3.3.0",
56
- "monaco-editor": "0.33.0",
57
55
  "react": "17.0.2",
58
56
  "react-dom": "17.0.2",
59
57
  "react-resize-detector": "7.0.0",
60
- "react-router": "5.2.1",
61
- "react-router-dom": "5.3.0",
62
58
  "serializr": "2.0.5"
63
59
  },
64
60
  "devDependencies": {
65
- "@finos/legend-dev-utils": "0.3.20",
61
+ "@finos/legend-dev-utils": "0.3.21",
66
62
  "cross-env": "7.0.3",
67
63
  "eslint": "8.13.0",
68
64
  "jest": "27.5.1",
69
65
  "npm-run-all": "4.1.5",
70
66
  "rimraf": "3.0.2",
71
- "sass": "1.50.0",
67
+ "sass": "1.50.1",
72
68
  "typescript": "4.6.3"
73
69
  },
74
70
  "peerDependencies": {
@@ -14,8 +14,15 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { PureModel } from '@finos/legend-graph';
17
+ import type { BasicModel, PureModel } from '@finos/legend-graph';
18
+ import { guaranteeNonNullable } from '@finos/legend-shared';
18
19
  import { DataSpace } from '../models/metamodels/pure/model/packageableElements/dataSpace/DSLDataSpace_DataSpace';
19
20
 
20
21
  export const getDataSpace = (path: string, graph: PureModel): DataSpace =>
21
22
  graph.getExtensionElement(path, DataSpace, `Can't find data space '${path}'`);
23
+
24
+ export const getOwnDataSpace = (path: string, graph: BasicModel): DataSpace =>
25
+ guaranteeNonNullable(
26
+ graph.getOwnNullableExtensionElement(path, DataSpace),
27
+ `Can't find data space '${path}'`,
28
+ );
@@ -35,7 +35,7 @@ import {
35
35
  V1_dataSpaceModelSchema,
36
36
  V1_DATA_SPACE_ELEMENT_PROTOCOL_TYPE,
37
37
  } from './v1/transformation/pureProtocol/V1_DSLDataSpace_ProtocolHelper';
38
- import { getDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
38
+ import { getOwnDataSpace } from '../../../graphManager/DSLDataSpace_GraphManagerHelper';
39
39
  import {
40
40
  type DataSpaceSupportInfo,
41
41
  DataSpace,
@@ -68,10 +68,12 @@ import {
68
68
  V1_ElementBuilder,
69
69
  V1_initPackageableElement,
70
70
  V1_StereotypePtr,
71
+ V1_buildFullPath,
71
72
  } from '@finos/legend-graph';
72
73
  import {
73
- Diagram,
74
+ type Diagram,
74
75
  V1_DSLDiagram_PackageableElementPointerType,
76
+ getDiagram,
75
77
  } from '@finos/legend-extension-dsl-diagram';
76
78
 
77
79
  export const DATA_SPACE_ELEMENT_CLASSIFIER_PATH =
@@ -96,7 +98,7 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
96
98
  ): PackageableElement => {
97
99
  assertType(elementProtocol, V1_DataSpace);
98
100
  const element = new DataSpace(elementProtocol.name);
99
- const path = context.currentSubGraph.buildPath(
101
+ const path = V1_buildFullPath(
100
102
  elementProtocol.package,
101
103
  elementProtocol.name,
102
104
  );
@@ -112,11 +114,11 @@ export class DSLDataSpace_PureProtocolProcessorPlugin extends PureProtocolProces
112
114
  context: V1_GraphBuilderContext,
113
115
  ): void => {
114
116
  assertType(elementProtocol, V1_DataSpace);
115
- const path = context.graph.buildPath(
117
+ const path = V1_buildFullPath(
116
118
  elementProtocol.package,
117
119
  elementProtocol.name,
118
120
  );
119
- const element = getDataSpace(path, context.graph);
121
+ const element = getOwnDataSpace(path, context.currentSubGraph);
120
122
  element.stereotypes = elementProtocol.stereotypes
121
123
  .map((stereotype) => context.resolveStereotype(stereotype))
122
124
  .filter(isNonNullable);
@@ -411,7 +413,7 @@ export const getResolvedDataSpace = (
411
413
  if (protocol.featuredDiagrams) {
412
414
  dataSpace.featuredDiagrams = protocol.featuredDiagrams.map((pointer) =>
413
415
  PackageableElementExplicitReference.create(
414
- graph.getExtensionElement(pointer.path, Diagram),
416
+ getDiagram(pointer.path, graph),
415
417
  ),
416
418
  );
417
419
  }