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
{{ message }}
Repository navigation
Deprecate default store and record loading in Ember route #773
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.
Reacted by Sergey Astapov, NullVoxPopuli, 余凡, Bert De Block and sandstrom
Activity
[-]Deprecate default store in Ember route[/-][+]Deprecate default store and record loading in Ember route[/+]wagenet commentedon Jul 23, 2022
Closing since there's an associated RFC.