Package Exports
- ember-cp-validations
- ember-cp-validations/htmlbars-plugins/v-get
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cp-validations) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ember CP Validations
A Ruby on Rails inspired model validation framework that is completely and utterly computed property based.
Features
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
Installation
ember install ember-cp-validations
Upgrading to 3.x
If you are upgrading from 2.x to 3.x, please checkout the upgrading documentation;
Helpful Links
Looking for help?
- 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