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 1eab080 commit 59a6674Copy full SHA for 59a6674
templates/cli/lib/type-generation/languages/dart.js.twig
@@ -22,7 +22,7 @@ class Dart extends LanguageMeta {
22
type = "bool";
23
break;
24
case AttributeType.RELATIONSHIP:
25
- type = "Map<String, dynamic>";
+ type = LanguageMeta.toPascalCase(attribute.relatedCollection);
26
27
default:
28
throw new Error(`Unknown attribute type: ${attribute.type}`);
0 commit comments