Closed mrboring closed 2 years ago
Hey @mrboring! Thanks for reaching out. I do apologize for the delay. Normally I am much faster to reply, but I've been (still am) after welcoming my second kid into the world. I will help with this, if it is still needed, when I get back to work on Monday.
Congratulations on the baby!
There is no hurry regarding my questions. I'm a hobbyist programmer learning F#. I've been looking at different methods of validation and was trying Validus. If you get some time, when you're back at work, I'd be grateful for your feedback. Again, this is low priority.
Did you figure this out? Or still want some feedback?
On Sun., Dec. 5, 2021, 8:42 a.m. mrboring, @.***> wrote:
Closed #6 https://github.com/pimbrouwers/Validus/issues/6.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pimbrouwers/Validus/issues/6#event-5716790500, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDB57MIWFMQEK7OTOGDBNDUPNT3BANCNFSM5IPPVNWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Thanks for asking, but no further feedback is needed.
My pleasure. Happy hacking!
On Sun., Dec. 5, 2021, 11:33 a.m. mrboring, @.***> wrote:
Thanks for asking, but no further feedback is needed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pimbrouwers/Validus/issues/6#issuecomment-986261108, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDB57JTTYA3G545KWOWK63UPOH4NANCNFSM5IPPVNWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi
I'm new to F# and have a requirement for validating records in an app I'm writing. Your library was referred to me. One of my requirements is for related fields to both validate (if label A is present then label B should be present and both should validate). Using your Quick Start code I've achieved my goal. However, I was wondering if there is a better way. Here is my code (look for // Added by Me):
A couple of questions:
...and! _ = firstNameAndAgeValidator "FirstName and Age" input // Added by Me...
I don't like the_ =
(I did this as I'm only interested in errors). Is there a better way of doing this?In
firstNameAndAgeValidator
could I use the inbuiltValidators
? If yes, how?