EraCode practice

Daily NestJS Math: Safe numeric parsing with pipes

NestJSadvancedMulti-Part

Summary

You’ll answer one advanced conceptual question about numeric validation in NestJS, then fill a single missing piece in a custom pipe that parses a route param into a finite number with bounds.

Problem preview

### Goal Fill **one missing line** in a custom NestJS pipe so it safely parses a numeric route param for math. ### Requirements - Input is a string route param like . - Return a **number** only if it…

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.