I don't have the full overview of the package but creating this as reminder and as a way to start the discussing.
I think we should consider if we could somehow hide away the optional part of the validator. It could be as simple as defaulting to accept nil values unless one explicitly specifies how to handle nil values using the .allowingNils.
I don't have the full overview of the package but creating this as reminder and as a way to start the discussing.
I think we should consider if we could somehow hide away the optional part of the validator. It could be as simple as defaulting to accept
nil
values unless one explicitly specifies how to handlenil
values using the.allowingNils
.Thoughts?