Groups
Sign in
Groups
VIE.js
Conversations
About
Send feedback
Help
VIE and validation
6 views
Skip to first unread message
Henri Bergius
unread,
Sep 17, 2012, 1:01:14 PM
9/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vi...@googlegroups.com
Hi,
There is a long-standing feature request for supporting validation in VIE:
https://github.com/bergie/VIE/issues/21
I've now made the initial work towards this:
https://github.com/bergie/VIE/blob/master/src/Entity.js#L203
See some validations in action:
https://github.com/bergie/VIE/blob/master/test/core/type.js#L275
Validations will only be run if VIE knows about your type information.
If you want to skip validation checks in any case, use silent: true.
--
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/
Jabber:
henri....@gmail.com
Microblogs: @bergie
Reply all
Reply to author
Forward
0 new messages