The AttributeValidator fails nulls when validating for various types. Most of the time I would like it to pass nulls.
The obvious work-around is using the NullAttributeMapper to map nulls to some acceptable value for the validation but:
a) this is a pain because you have to do it for all attributes you want to check
b) you have to change these values back to null afterwards so as to not send spurious data to the writer
Any more elegant way to do this?
Perhaps a custom transformer to do the work-around and the AttributeValidator within?
Or should this be an “Idea” for the AttributeValidator, i.e. Option: pass nulls?