DEV Community

loading...

Discussion on: Custom validation with database in NestJS

Collapse
avantar profile image
Krzysztof Szala Author

Thank you. I'll try to upload some repos, when I find some time. What kind of problems do you have with database DI? Maybe I can help here. Regards.

Collapse
davidn96 profile image
davidN96

Hey! Thank you for your response! Well, I've found the problem. I've accidentally imported useContainer from typeorm instead of class-validator (VSC hints). Now everything works great. Thank you for a great article!

Thread Thread
avantar profile image
Krzysztof Szala Author

That's great, happy to help! :)