How do you write a pipe that validates and parses a date string from a route parameter in NestJS? | Pipes | NestJS Interview Questions | NextRound.in