Answers for "nestjs fail on unknown properties"

0

nestjs fail on unknown properties

//to set it globally in a nest application

app.useGlobalPipes(
  new ValidationPipe({
    whitelist: true,
  }),
);
Posted by: Guest on August-10-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language