Aquila169 / zod-express-middleware

Express middleware to validate requests using zod schema's.
MIT License
82 stars 13 forks source link

Param types across files #11

Closed joepetrillo closed 1 year ago

joepetrillo commented 1 year ago

I am trying to prevent having to use the processRequest middleware on every single route manually if it contains a parameter for course_id. However, it seems like no matter what I try the req type will always be reset per route. Anyone run into something like this before? I attached some screenshots of what I am currently being forced to do.

image image