nodeboot-starter-validation
Installation
SKILL.md
@nodeboot/starter-validation
Use this starter when request DTOs should be rejected automatically instead of manually validated in every controller action. It layers class-validator onto Node-Boot request binding.
Enable
@EnableDI(Container)
@EnableValidations()
@EnableComponentScan()
@NodeBootApplication()
export class App implements NodeBootApp {
start(): Promise<NodeBootAppView> {
return NodeBoot.run(ExpressServer);
}
}