You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Payloads coming in over the network are plain JavaScript objects. The ValidationPipe can automatically transform payloads to be objects typed according to their DTO classes. To enable auto-transformation, set transform to true.
app.useGlobalPipes(
new ValidationPipe({
transform: true,
}),
);
Reproduction steps
-
Logs
No response
Browsers
No response
OS
No response
The text was updated successfully, but these errors were encountered:
Description
Payloads coming in over the network are plain JavaScript objects. The ValidationPipe can automatically transform payloads to be objects typed according to their DTO classes. To enable auto-transformation, set transform to true.
Reproduction steps
Logs
No response
Browsers
No response
OS
No response
The text was updated successfully, but these errors were encountered: