ember-model-validator
ember-model-validator copied to clipboard
Non-async relations are not validated correctly
Validations for related models are not run when the relationship is defined like DS.hasMany('related-model', {async: false})
I believe this is a regression introduced in this commit. I think in this case the related objects are not wrapped in a proxy so the content
property is undefined.
I am currently using ember-data 2.8.1
I still see this issue on Ember 4.8. Is this repo being maintained?
@rogeraraujo90 it is. I can check this issue next weekend
@esbanarango Thanks! I'm using the custom validator as a workaround. Very helpful!
I don't have free time to investigate the fix by myself until my next product release but let me know if I can help!