How do you write a custom pipe for parsing and validating a MongoDB ObjectId param in NestJS? | Pipes | NestJS Interview Questions | NextRound.in