ember-validations
ember-validations copied to clipboard
Validations for Ember Objects
Fixes #437
Unless someone has a good reason and motivation to keep supporting Ember 1.X, I'd suggest making the addon 2.X only.
Now the polyfill is a **real** polyfill, so we can destructure from ember itself. This is a subset of the changes in #447 in the hope CI is green and...
Fixes ember-getowner-polyfill deprecation. Also adds support for validations as an immutable computed property.
Resolve "Backtracking re-render" exception by building up the errors object when the component is loaded into memory.
Fixes using `ember-i18n`. Otherwise the workaround described in https://github.com/DockYard/ember-validations/issues/366#issuecomment-169869004 no longer works. When running multiple tests, ember-validations will use a destroyed version of `i18n` from the 1st test run, leaking...
I don't have a concrete issue, but I was looking for some other stuff and noticed this code - https://github.com/DockYard/ember-validations/blob/master/addon/validators/base.js#L16 The base object is calling multiple functions using `on init`....