We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0168e5e commit 0623b35Copy full SHA for 0623b35
packages/concerto-core/lib/introspect/mapkeytype.js
@@ -102,8 +102,7 @@ class MapKeyType extends Decorated {
102
this.type = 'String';
103
break;
104
case `${MetaModelNamespace}.ObjectMapKeyType`:
105
- decl = this.parent.getModelFile().getAllDeclarations().find(d => d.name === this.ast.type.name);
106
- this.type = decl.getName();
+ this.type = String(this.ast.type.name);
107
108
}
109
0 commit comments