© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ofuzor Chukwuemeke
SOFTWARE DEVELOPER
Repositories are classes or components that encapsulate the logic required to access data sources. They centralize common data access functionality, providing better maintainability and decoupling the infrastructure or technology used to access datab...
Ivan Ivan
Hello, how about dto? what if we want some properties to be required and others to be optional, how do we validate them with class-validator etc?
Can't understand how it should work with create method, if in different entities we have different implementation, different calculations, somewhere need to use transactions etc...
Ivan Ivan
Hello, how about dto? what if we want some properties to be required and others to be optional, how do we validate them with class-validator etc?