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

Please add refresh method to collection #4556

Closed
OpakAlex opened this issue Sep 27, 2016 · 2 comments · Fixed by #4592
Closed

Please add refresh method to collection #4556

OpakAlex opened this issue Sep 27, 2016 · 2 comments · Fixed by #4592

Comments

@OpakAlex
Copy link

Example:

let collection = this.store.query('user', {use_ember: true});
collection.refresh(); // make request to api with same params

Will be very nice, like 21 century, not like now 1900 year!

@locks locks added the Feature label Sep 27, 2016
@locks
Copy link
Contributor

locks commented Sep 27, 2016

I advise that next time you make a feature request you refrain from insulting the project maintainers. You may find them more amenable to your suggestion.

@pangratz
Copy link
Member

pangratz commented Oct 1, 2016

This is already possible using #update() on the result, see this ember-twiddle for an example.

@OpakAlex can you point out where you have looked respectively where you would look at in the documentation to find such information? This would be very helpful so this is documented when future developers stumble over this issue. Thank you very much.

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

Successfully merging a pull request may close this issue.

4 participants