Skip to content

Commit

Permalink
fix: do not enableImplicitConversion
Browse files Browse the repository at this point in the history
Until this is fixed: typestack/class-transformer#550
  • Loading branch information
Yehonal committed Oct 2, 2023
1 parent 19da4e8 commit fe3ece7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/app-bootstrap.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class AppBootstrap<
this.getApp().useGlobalPipes(
new ValidationPipe({
transform: true,
transformOptions: { enableImplicitConversion: true },
transformOptions: { enableImplicitConversion: false },
validateCustomDecorators: true,
exceptionFactory: (errors) => {
const errorMessages: { [key: string]: any } = {};
Expand Down

0 comments on commit fe3ece7

Please sign in to comment.