whefter / nestjs-joi

Easy to use JoiPipe as an interface between joi and NestJS with optional decorator-based schema construction.
MIT License
25 stars 12 forks source link

How to use it to validate Query and Params #7

Closed erald14 closed 3 years ago

erald14 commented 3 years ago

Cant find a way to make it work. @Query(JoiPipe) queryParams: FilterType) doesnt work even though FilterType has the JoiSchema decorator

erald14 commented 3 years ago

Closing this as I was using the wrong class.