VIE and validation

6 views
Skip to first unread message

Henri Bergius

unread,
Sep 17, 2012, 1:01:14 PM9/17/12
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