I'm trying to sanitize undefined optional values to be null.
I tried this:
body('value').isNumeric().optional().default(null)
But it only works when value is not allowed to be .optional().
I also tried .customSanitizer(value => value || null) but it fails for the same reason.