issues
search
foam-framework
/
foam
Feature-Oriented Active Modeller
Apache License 2.0
787
stars
55
forks
source link
Property validation and tests
#491
Closed
jacksonic
closed
8 years ago
jacksonic
commented
8 years ago
Message moved ahead of mm3Types Properties, basic placeholders implemented in replaceValues() to be compatible with full i18n.Message
Int/float min/max, String min/max chars and regex pattern validate() generated, optionally translatable generic error messages.
Base model for Int/Float property, to share validate() generation and min/max.
Fix for Property.validate() with no args specified
Tests in js/foam/test/Types.js
adamvy-google
commented
8 years ago
LGTM