sometimes it is necessary to dynamically evaluate wether a field is required or not, so required should accept a function and call that
sometimes it is necessary to dynamically evaluate wether a field is required or not, so required should accept a function and call that