From 7fae55e188476a5c52c1b4db375eb4ba5cc065d7 Mon Sep 17 00:00:00 2001 From: David Nagy Date: Tue, 22 Oct 2024 12:03:46 +0200 Subject: [PATCH] chore: update comment --- src/server/validation/validateRequest.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/validation/validateRequest.ts b/src/server/validation/validateRequest.ts index 8b8b3fa..f495654 100644 --- a/src/server/validation/validateRequest.ts +++ b/src/server/validation/validateRequest.ts @@ -19,6 +19,8 @@ export interface ReqValidationOptions { /** * 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 }