On Mon, Aug 26, 2019 at 9:44 PM Suranee Gomez <[email protected]> wrote:
> This is fine to use, as long as you replicate the copyright line and the > text, in the license.txt or any attribution files. You can release under > any license you choose. > Thank you ! +1 for Joi. Thanks, Tanya > > Thanks, > Su > > Suranee Gomez > Lead Legal Officer > > WSO2 > Phone: +94777119120 > Web: http://wso2.com > > Lean . Enterprise . Middleware > <http://wso2.com/signature> > > > On Mon, Aug 26, 2019 at 4:43 PM Tanya Madurapperuma <[email protected]> > wrote: > >> Isn't the second point in the license [1] of Joi is problematic? >> >> >> - *Redistributions in binary form must reproduce the above copyright >> notice, this list of conditions and the following disclaimer in the >> documentation and/or other materials provided with the distribution.* >> >> >> [looping Suranee for her input] >> [1] https://github.com/hapijs/joi/blob/master/LICENSE.md >> >> Thanks. >> Tanya >> >> On Mon, Aug 26, 2019 at 4:27 PM Chanaka Jayasena <[email protected]> >> wrote: >> >>> +1 for using Joi. One of the reasons we couldn't go with most of the >>> libraries out there is they are wrapping input elements with there own >>> components. This lib doesn't seem to have that problem. >>> >>> thanks, >>> Chanaka >>> >>> On Fri, Aug 23, 2019 at 12:44 PM Kasun Thennakoon <[email protected]> >>> wrote: >>> >>>> Hi All, >>>> >>>> So far we have been doing the validation manually in ad-hoc manner. It >>>> seems that this approach is not scalable. For example, We had to write URL >>>> , email , ip address etc validation patterns manually. >>>> So I think it's better to integrate a third-party library that is >>>> dedicated to the validation task. >>>> So we explored the available libraries and found these widely adopted >>>> libraries. >>>> >>>> - Joi[1][2] >>>> - Validator.js[3] >>>> - V8n[4] >>>> >>>> ... many more <https://github.com/topics/validation?l=javascript>[4] >>>> >>>> The above top 3 picks are pure validation libraries, Not related to >>>> ReactJs. >>>> >>>> Out of those, IMO Joi[1] fits with our requirements well. >>>> Here is a sample implementation >>>> <https://codesandbox.io/s/stoic-mcnulty-9kcmj>[5] with material UI >>>> elements. >>>> >>>> Please give your feedback. >>>> >>>> [1]: https://github.com/hapijs/joi >>>> [2]: https://github.com/hapijs/joi/blob/master/LICENSE.md >>>> [3]: https://github.com/validatorjs/validator.js >>>> [4]: https://github.com/imbrn/v8n >>>> [5]: https://codesandbox.io/s/stoic-mcnulty-9kcmj >>>> >>>> -- >>>> *Kasun Thennakoon* | Senior Software Engineer | WSO2 Inc. >>>> (m) +94 711661919 | (w) +94 11 214 5345 | (e) [email protected] >>>> GET INTEGRATION AGILE >>>> Integration Agility for Digitally Driven Business >>>> >>> >>> >>> -- >>> *Chanaka Jayasena* | Technical Lead | WSO2 Inc. >>> (m) +94 77 44 64 00 6 | (w) 0112 145 345 | (e) [email protected] >>> GET INTEGRATION AGILE >>> Integration Agility for Digitally Driven Business >>> >> >> >> -- >> *Tanya Madurapperuma* | Technical Lead | WSO2 Inc. >> (m) +94718184439 | (e) [email protected] >> >> <http://wso2.com/signature> >> >> >> -- *Tanya Madurapperuma* | Technical Lead | WSO2 Inc. (m) +94718184439 | (e) [email protected] <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
