Ember Model Validator

screenshot of Ember Model Validator
ember

ember-cli addon adds validation support to your Ember-Data models.

Overview

Ember Model Validator is an Ember addon designed to add validations to Ember Data models in a straightforward and explicit manner, inspired by Active Record Validations in Ruby on Rails. This tool simplifies the process by providing decorators that can be included in models for adding validation support without the need for multiple validation files.

Features

  • Easy Installation: Install Ember-model-validator with a simple npm or yarn command.
  • Validation Support: Includes decorators for adding validations to models.
  • Customizable Validations: Allows the exclusion or forced validation of specific attributes.
  • Wide Range of Validators: Supports common validations such as Presence, Acceptance, Format, Length, Email, etc.
  • Compatibility: Works with ember-source and ember-data v3.28 or above.
  • I18n Support: Ability to internationalize validation error messages.
  • Extensive Documentation: Provides detailed examples and usage instructions.
ember
Ember

Ember.js is a productive, battle-tested JavaScript framework for building modern web applications. It includes everything you need to build rich UIs that work on any device.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.