allow undefined properties to be passed for not null fields