-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation on model versus component #684
Comments
I'm facing exactly the same dilemma. I think there're pros & cons in both approaches. ModelPros
Cons
ComponentPros
Cons
I don't know when ember-cp-validations is gonna be Ember Octane friendly, and I don't know which approach is the best to this day (if there's one). I'm curious to have other opinions on this topic ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any preferred pattern when it comes defining validations on an Ember component versus an Ember Data Model?
The text was updated successfully, but these errors were encountered: