Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnagydavid committed Oct 22, 2024
1 parent 96801bb commit 7fae55e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/validation/validateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export interface ReqValidationOptions<ERR extends Error> {

/**
* When set to true, the validated object will not be replaced with the Joi-converted value.
*
* The general default is `false`, with the excepction of `headers` validation, where the default is `true`.
*/
keepOriginal?: boolean
}
Expand Down

0 comments on commit 7fae55e

Please sign in to comment.