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

[BUGFIX beta] Functional update for adapter populated record arrays #4050

Merged
merged 1 commit into from
Jan 6, 2016

Conversation

fivetanley
Copy link
Member

This is an updated version of #3086 by @vinilios.

permit for adapter populated record array contents to be updated by
calling update method.

refs #3082

cc @wecc @igorT

permit for adapter populated record array contents to be updated by
calling `update` method.

refs emberjs#3082
@fivetanley
Copy link
Member Author

also @tchak

@tchak
Copy link
Member

tchak commented Jan 6, 2016

LGTM 👍

@wecc
Copy link
Contributor

wecc commented Jan 6, 2016

👍

@@ -73,3 +73,61 @@ test('recordArray.replace() throws error', function(assert) {
recordArray.replace();
}, Error("The result of a server query (on (subclass of DS.Model)) is immutable."), 'throws error');
});

test("when an adapter populated record gets updated the array contents are also updated", function(assert) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe missing array here: adapter populated record **array** gets...

bmac added a commit that referenced this pull request Jan 6, 2016
[BUGFIX beta] Functional update for adapter populated record arrays
@bmac bmac merged commit faafa43 into emberjs:master Jan 6, 2016
@fivetanley fivetanley deleted the vinilios-pr branch January 11, 2016 19:43
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

Successfully merging this pull request may close these issues.

6 participants