A Ruby on Rails inspired model validation framework that is completely and utterly computed property based.
No observers were used nor harmed while developing and testing this addon.
- Lazily computed validations
- Ruby on rails inspired validators
- Support for both Ember Data Models and Objects
- Synchronous and asynchronous support for both validators and validations
- Dirty tracking
- Support for nested models via
belongsTo
andhasMany
relationships - Support for nested objects
- Easily integrated with Ember Data's DS.Errors
- No observers. Seriously... there are none. Like absolutely zero....
- Meta data based cycle tracking to detect cycles within your model relationships which could break the CP chain
- Custom validators
- Ember CLI generator to create custom validators with a unit test
- Debounceable validations
- Warning validations
- I18n support
ember install ember-cp-validations
If you are upgrading from 2.x to 3.x, please checkout the upgrading documentation;
- If it is a bug please open an issue on GitHub.
- Ask a question in the
#e-cp-validations
channel at the Ember.js Community Slack