#62 Ember Changeset Validations

In the last tip, i talked about the awesome addon ember-changeset, there is a companion addon to add validations to your changeset.
Install the addon with

Then you can wire up your model validator

Then create your validator

Try it out and let me know how it works. Do you have a better way to handle validations?
ember-changeset-validations at https://github.com/DockYard/ember-changeset-validations
Ember Changeset Tip 61

Also published on Medium.

Published by

Emad Ibrahim

Author of asp .net MVC & TDD, entrepreneur, passionate technologist, programmer and productivity nut. more at http://t.co/oSJXPvzu