diff --git a/packages/core/src/lib/types-builder.ts b/packages/core/src/lib/types-builder.ts index 44da77a..7979b44 100644 --- a/packages/core/src/lib/types-builder.ts +++ b/packages/core/src/lib/types-builder.ts @@ -662,7 +662,7 @@ export class TypesBuilder { ); return async (parent, _args, context) => { - const args = deserializeArgs(_args) as Record; // might return undefined ? + const args = deserializeArgs(_args, { loosely: false }) as Record; const argsValidationErrors = validateArgs(args); if (argsValidationErrors.length) { const originalError = new ValidationError(argsValidationErrors);