| 3 | import { validate, ValidatorOptions } from 'class-validator'; |
| 4 | |
| 5 | export interface ValidateBodyOptions { |
| 6 | transformer?: ClassTransformOptions; |
| 7 | validator?: ValidatorOptions; |
| 8 | } |
| 9 | |
| 10 | /** |
| 11 | * Hook factory validating the request body against a validator class. It also transforms |
nothing calls this directly
no outgoing calls
no test coverage detected