-
Notifications
You must be signed in to change notification settings - Fork 94
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
Improve required validator #377 #378
Improve required validator #377 #378
Conversation
Hi @joanpablo |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #378 +/- ##
==========================================
+ Coverage 95.83% 95.90% +0.07%
==========================================
Files 65 65
Lines 1319 1320 +1
==========================================
+ Hits 1264 1266 +2
+ Misses 55 54 -1
☔ View full report in Codecov by Sentry. |
b81b8d7
to
330a17b
Compare
Thanks for been so diligent and taking care of the comments. In this particular case I'm not sure we want to merge both concepts in the same Validator. You can check my answer in the issue #377 |
Maybe creating another validator that serves as an alias to the Validators.minLength(1), something like Validators.isNotEmpty could work out |
There is one caveat for |
@joanpablo |
I will close this PR since the discussion is still open. |
Connection with issue(s)
Close #377