fix: harden tenant auth and quality gates
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { ValidationPipe } from '@nestjs/common';
|
||||
|
||||
export const strictValidationPipe = new ValidationPipe({
|
||||
transform: true,
|
||||
whitelist: true,
|
||||
forbidNonWhitelisted: true,
|
||||
stopAtFirstError: false,
|
||||
transformOptions: { enableImplicitConversion: false },
|
||||
});
|
||||
Reference in New Issue
Block a user