We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#4041 suggest that we must improve documentation around how and when to cleanup recordArrays.
The text was updated successfully, but these errors were encountered:
In case this helps shape your Dos and Donts this is how I'm cleaning up my record Arrays
model() { let serviceRegionIds = this.paramsFor('service-region-group').service_region_group_id.split(','); return this.store.filter('chat-participant', participant => serviceRegionIds.includes(participant.get('serviceRegionId'))); }, deactivate() { // Ember Data #4041 - store#filter/store#query RecordArrays // are never garbage collected const model = this.get('controller.model'); model.destroy(); }
Sorry, something went wrong.
We've moved to deprecate filter
filter
we no longer have filtered record arrays at all.
No branches or pull requests
#4041 suggest that we must improve documentation around how and when to cleanup recordArrays.
The text was updated successfully, but these errors were encountered: