Nest JS : Unable to make validation pipe working
I just don’t know where to search and don’t really understand why it’s not working
How to manage the Object in class-validator in nestjs?
I have a object it type is product:{[key:string]:[{min:number,max:number,discount:number}]}
that product if {} return error or min or max or discount not exist return error Or the type of one is not number return error in class-validator nestjs