ember-cli-todo-mvc
ember-cli-todo-mvc copied to clipboard
Filter Deprecated
While going through your tutorial, I got this error:
Error while processing route: todos.completed Assertion Failed: The filter API has been moved to a plugin. To enable store.filter using an environment flag, or to use an alternative, you can visit the ember-data-filter addon page. https://github.com/ember-data/ember-data-filter
I tried to implement the new version of filter as outlined in the link above, but had trouble making it work with the tutorial code. If you have any ideas, I'd appreciate it! Thanks!
@cjnething I was running into the same issue. I was able to get it resolved by adding the ENABLE_DS_FILTER: true code directly into config/environment.js like so:
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true
},
ENABLE_DS_FILTER: true
},