Closed wizardnet972 closed 3 years ago
Which options are you passing to typeorm-model-generator? E.g. custom naming strategy might be important here.
[
{
"resultsPath": "C:\\code\\typeorm-test\\models",
"pluralizeNames": true,
"noConfigs": true,
"convertCaseFile": "param",
"convertCaseEntity": "pascal",
"convertCaseProperty": "camel",
"convertEol": "CRLF",
"propertyVisibility": "none",
"lazy": true,
"activeRecord": false,
"generateConstructor": false,
"customNamingStrategyPath": "",
"relationIds": false,
"strictMode": "none",
"skipSchema": false,
"indexFile": true,
"exportType": "named"
}
]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When I run the generator on my database:
The files have missing properties. see the output files below.
sql
Output files
bar.ts
baz.ts
foo.ts
console output