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

Failing test: 'When a record is loaded a second time, isLoaded should stay true #731

Merged
merged 2 commits into from Apr 10, 2013

Conversation

go1dfish
Copy link

Currently when a record is loaded a second time after it has already been loaded (i.e. updating data), isLoaded briefly flips to false.

This can cause unexpected behavior in applications that observe isLoaded to prevent/defer expensive renders.

@wagenet
Copy link
Member

wagenet commented Feb 23, 2013

This definitely seems like something worth fixing.

@go1dfish
Copy link
Author

Pushed a potential fix, all tests pass, but I'm not sure if maybe I'm stepping on some intended behavior here?

@igorT
Copy link
Member

igorT commented Apr 6, 2013

@tomdale @wycats ?

tomdale added a commit that referenced this pull request Apr 10, 2013
Failing test: 'When a record is loaded a second time, isLoaded should stay true
@tomdale tomdale merged commit e3c4048 into emberjs:master Apr 10, 2013
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.

None yet

4 participants