react-native-gifted-form
react-native-gifted-form copied to clipboard
validate-model is out
Hey @FaridSafi!
As a part of last night's programming spree, I created https://github.com/danielweinmann/validate-model, which is a pretty close implementation (a.k.a copy :D) of your validation logic for GiftedFormManager, but in a separate npm package.
We could probably collaborate on that so you can clean GiftedFormManager up by using validate-model.
What do you think of that?
PS: thanks for both inspirations, BTW! It's a great work what you created!
Interesting! I might integrate it!
Great! Let me know if you need any help ;)
I didn't implement your whole algorithm, mainly because I didn't understand part of it. For instance, I ignored the {PATH}
replacement and the k
parameter in your doValidateOne
function.
But since you understand the need, I think you will be able to implement it with ease. Just send a PR with anything you need and I'll integrate it ;)