Skip to content

Commit 05485c3

Browse files
author
Nicolas MACHEREY
committed
Added documentation's for global pipes transform
1 parent cebafdc commit 05485c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ to let typeorm scan your entities or add them to the `entitie` configuration var
171171
## Using the global validation pipes
172172

173173
**IMPORTANT**: In addition, you should enable the global validation pipe in your NestJS application. In your `main.ts`
174-
you should add these lines:
174+
you should use the `useGlobaPipes` with the `ValidationPipe` and the `transform` options set to `true`:
175175

176176
```typescript
177177
async function bootstrap() {

0 commit comments

Comments
 (0)