Validation on path parameters? #176
Replies: 5 comments 2 replies
-
Hello, Thank you for asking. |
Beta Was this translation helpful? Give feedback.
-
nevermind, there is a button to create a feature request from discussion |
Beta Was this translation helpful? Give feedback.
-
@epotter2297 it is now available on
|
Beta Was this translation helpful? Give feedback.
-
Indeed, i created an issue #180 to track this |
Beta Was this translation helpful? Give feedback.
-
@epotter2297 better path param type narrowing is now available on:
|
Beta Was this translation helpful? Give feedback.
-
It would be really cool if there was a way to use zod to validate my path parameters. For example, if I have an endpoint like so:
And I want to make sure that
id
is a valid UUID, I could do something like:Beta Was this translation helpful? Give feedback.
All reactions