nestjs-gen
Advanced tools
Comparing version 1.2.6 to 1.2.7
{ | ||
"name": "nestjs-gen", | ||
"version": "1.2.6", | ||
"version": "1.2.7", | ||
"description": "NestJS model package generator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -86,3 +86,3 @@ ## What This Is: | ||
If you specify a string to the --model argumenent, the generatd model file will add the given properties, using the format propName:propType. propType will be used as the exact class name, but will not be imported (if using a custom class), so you have to add the import yourself, for now. | ||
If you specify a stringor properties to the --model argumenent, the generated model file will add the given properties, using the format propName:propType. It will also add a @Column() decorator for each properties. propType will be used as the exact class name, but will not be imported (if using a custom class), so you have to add the import yourself, for now. Currently does not support adding other decorators (ie. @PrimaryGeneratedColumn(), joins, etc), or custom @Column({}) definitions, which must be added manually, for now. | ||
@@ -89,0 +89,0 @@ |
34128