typeorm-routing-controllers-extensions
typeorm-routing-controllers-extensions copied to clipboard
TypeORM and Routing-Controllers integration library.
String parameters cause ParameterParseJsonError in routing-controllers when using EntityFromParam.
Using a parameter with a string as a value when using EntityFromParameter causes a ParameterParseJsonError to be thrown in routing-controllers. I've dug down and found out this is because routing-controllers...
'property' option is of type string (instead of boolean)
Sets explicit type in EntityFromParam to string which fixes a routing-controllers ParameterParseJsonError when trying to parse a string parameter; fixing #11.
Fixes typeorm/typeorm-routing-controllers-extensions#15 Fixes #15
Using a combination of typeorm, routing-controllers, this package, and class-validator decorators. Trying `@EntityFromBody()` on a PUT request with some properties missing results in a validation error for the missing properties....
i am using this project to develop,orm part is awesome,but how to make a static folder mapping such as "public" or "static"
If `FindOptions` can be passed to decorators like `@EntityFromParam` will be more useful. Especially work with column selections or relations.
Hello, I have the following controller: ````typescript @JsonController("/countries") export class CountriesController { private countryRepository: Repository; constructor() { this.countryRepository = getEntityManager().getRepository(Country); } @Get() getAll() { return this.countryRepository.find(); } @Get("/:id") getOne(@Param("id") id:...
I have this entity ```` @Entity() export class Post{ @PrimaryGeneratedColumn() post_id: number; @Column({type:'string'}) comment:string; @Column({type:'smallint'}) category:number; @AfterLoad() convertsth(){ } @BeforeInsert() async purifyInsert() { } @BeforeUpdate() async purifyUpdate(){ } } ````...
``` MetadataArgsStorage_1.defaultMetadataArgsStorage.params.push({ ``` TypeError: Cannot read property 'params' of undefined I'm trying to start the express application. I have created model and the controller but getting error.