Answers for "nestjs custom pipe"

0

nestjs custom pipe

import { PipeTransform, Injectable, ArgumentMetadata } from '@nestjs/common';

@Injectable()
export class ValidationPipe implements PipeTransform {
  transform(value: any, metadata: ArgumentMetadata) {
    return value;
  }
}
Posted by: Guest on May-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language