Always call a custom validator function, even when we know the object
is invalid because of type errors.