Skip to content
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

[Deprecation] usage of reduce computed in errors.js #3327

Closed
stefanpenner opened this issue Jun 13, 2015 · 4 comments
Closed

[Deprecation] usage of reduce computed in errors.js #3327

stefanpenner opened this issue Jun 13, 2015 · 4 comments

Comments

@stefanpenner
Copy link
Member

errorsByAttributeName: Ember.reduceComputed("content", {
initialValue: function() {
return MapWithDefault.create({
defaultValue: function() {
return Ember.A();
}
});
},
addedItem: function(errors, error) {
errors.get(error.attribute).pushObject(error);
return errors;
},
removedItem: function(errors, error) {
errors.get(error.attribute).removeObject(error);
return errors;
}
}),

source: emberjs/ember.js#11435

@igorT
Copy link
Member

igorT commented Jun 14, 2015

I believe this has been fixed

@igorT igorT closed this as completed Jun 14, 2015
@pangratz
Copy link
Member

@igorT yep

@yonida
Copy link

yonida commented Jun 22, 2015

Still getting it with ember 1.13.0 and ember data 1.0.0-beta.19
How can I fix it?

@pangratz
Copy link
Member

@yonida This should be fixed in ember-data v1.13.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants