From ec50399f6163d789219b0a6b60e78e74e3e84f1d Mon Sep 17 00:00:00 2001 From: Mauricio Uyaguari Date: Wed, 16 Aug 2023 13:07:24 -0400 Subject: [PATCH] fix assoication editor --- .changeset/chatty-bottles-trade.md | 2 ++ .../pure/packageableElements/domain/Association.ts | 12 ++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 .changeset/chatty-bottles-trade.md diff --git a/.changeset/chatty-bottles-trade.md b/.changeset/chatty-bottles-trade.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/chatty-bottles-trade.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/legend-graph/src/graph/metamodel/pure/packageableElements/domain/Association.ts b/packages/legend-graph/src/graph/metamodel/pure/packageableElements/domain/Association.ts index 23973b99416..5f3762fd371 100644 --- a/packages/legend-graph/src/graph/metamodel/pure/packageableElements/domain/Association.ts +++ b/packages/legend-graph/src/graph/metamodel/pure/packageableElements/domain/Association.ts @@ -71,18 +71,14 @@ export class Association extends PackageableElement implements Hashable { new Property( '', Multiplicity.ONE, - GenericTypeExplicitReference.create( - new GenericType(INTERNAL__PseudoClass.INSTANCE), - ), - INTERNAL__PseudoClass.INSTANCE, + GenericTypeExplicitReference.create(new GenericType(new Class(''))), + new Class(''), ), new Property( '', Multiplicity.ONE, - GenericTypeExplicitReference.create( - new GenericType(INTERNAL__PseudoClass.INSTANCE), - ), - INTERNAL__PseudoClass.INSTANCE, + GenericTypeExplicitReference.create(new GenericType(new Class(''))), + new Class(''), ), ]; (properties[0] as Writable)._OWNER = this;