Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(validation): point the strict-boolean comment at configure-app.ts

Yudhi Armyndharisdef6cdbef045
diff --git a/src/common/utils/strict-boolean.ts b/src/common/utils/strict-boolean.ts
index 59ae17a54..e62b373ce 100644
--- a/src/common/utils/strict-boolean.ts
+++ b/src/common/utils/strict-boolean.ts
@@ -9,7 +9,7 @@ import { Transform, TransformFnParams } from 'class-transformer';
* cast *any* non-empty string to `true` — `'false'`, `'0'` and `'no'` all become `true` — and it
* happens before `@IsBoolean()` ever runs, so the validator can never reject it. Requests reach a
* DTO as strings whenever the body arrives through the global `express.urlencoded` parser
- * (`src/main.ts`), whose scalars are always strings.
+ * (`src/configure-app.ts`), whose leaf values are always strings.
*
* The callback deliberately reads `obj[key]` (the untouched plain source) instead of `value`:
* implicit conversion has already run by the time a `@Transform` callback is invoked, so `value`