JSPM

  • Created
  • Published
  • Downloads 26888
  • Score
    100M100P100Q152579F
  • License BSD-3-Clause

Ember computed property based validations

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

Build Status npm version Code Climate Test Coverage Ember Observer Score Dependency Status devDependency Status

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 and hasMany 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

Introduction to ember-cp-validations

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;

Looking for help?