Skip to content

Commit 5f4ffc4

Browse files
committed
Enable implicit validation transformations
1 parent bcdafae commit 5f4ffc4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/api-gateway/src/main.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ async function bootstrap() {
2020
app.useGlobalPipes(
2121
new ValidationPipe({
2222
transform: true,
23+
transformOptions: {
24+
enableImplicitConversion: true,
25+
}
2326
}),
2427
);
2528

0 commit comments

Comments
 (0)