You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With #508 and ultimately removing the ember-data store injection here, the use of the default store👇 is uncommon and in some (many?) cases, error prone. This is further complicated that Ember Data Model class instances don't have a find method, thus causing an assertion.
BIG fan of this RFC. A few weeks ago I spent half a day trying to figure out why our app was doing an unexpected request, until I stumbled upon this gem of functionality
Notes
This RFC does not intend to remove the defaultmodel hook and findModel. Although this is entirely possible to expand this RFC to include this if people so desire. Otherwise, I'd be happy to open a new RFC to accomplish this.
The text was updated successfully, but these errors were encountered:
With #508 and ultimately removing the ember-data
store
injection here, the use of the default store👇 is uncommon and in some (many?) cases, error prone. This is further complicated that Ember Data Model class instances don't have afind
method, thus causing an assertion.We should deprecate the default store to
https://github.com/emberjs/ember.js/blame/017b11e2f58880869a5b8c647bf7f3199fc07f26/packages/%40ember/-internals/routing/lib/system/route.ts#L1729-L1760
Motivation
Confusion. Comment from an RFC...
Notes
This RFC does not intend to remove the default
model
hook andfindModel
. Although this is entirely possible to expand this RFC to include this if people so desire. Otherwise, I'd be happy to open a new RFC to accomplish this.The text was updated successfully, but these errors were encountered: