Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(reuired): add required with custom message #611

Closed
wants to merge 1 commit into from

Conversation

EvgenBabenko
Copy link

New refinements - required
Contains custom errors

Technically this is the same as using size, but "required" feels slightly nicer and will give a slightly easier to read error.
i borrowed this comment from empty

@EvgenBabenko
Copy link
Author

@ianstormtaylor Is it useful refinements? if not i'll close PR

@ianstormtaylor
Copy link
Owner

Hey @EvgenBabenko, I'd prefer to go with an alternative solution as being discussed in #568, thanks.

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

Successfully merging this pull request may close these issues.

2 participants