fix(api/validation): restore strict forbidNonWhitelisted: true and decorate all GET route queries with explicit DTOs across admin and application APIs
Deploy Canina / deploy (push) Failing after 28s

This commit is contained in:
parsa aghaei committed 2026-08-08 18:45:57 +03:30
1 parent 7cc9194827
commit fa688e2f8b
10 files changed
+53 -13

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ async function bootstrap() {
new ValidationPipe({
transform: true,
whitelist: true,
forbidNonWhitelisted: false,
forbidNonWhitelisted: true,
exceptionFactory: (errors) => {
const formattedDetails = errors.map((err) => {
const constraints = err.constraints