Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Consider how to handle optional input #13

Open
steffendsommer opened this issue Feb 7, 2018 · 0 comments
Open

Consider how to handle optional input #13

steffendsommer opened this issue Feb 7, 2018 · 0 comments

Comments

@steffendsommer
Copy link
Contributor

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.

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant