data
data copied to clipboard
pre-rfc: deprecate Store service extending EmberObject
Currently Store extends from EmberObject. This is one of the last few entanglements EmberData has with the Ember framework directly.
We would like to RFC deprecating any inherited EmberObject methods or behaviors to support #8147 and to broaden our compatibility with a wider range of Ember.js versions as well.
This does not need to be a very involved RFC. Roughly equivalent to [https://github.com/emberjs/rfcs/pull/745]. The primary impact will be that anyone using Store.reopen or Store.extend will need to instead use native class extends. class Store extends BaseStore {}
Could you provide more context?
@thevinitgupta added
example previous deprecation implementation for ember object methods https://github.com/emberjs/data/blob/900ce877f041d2c2736ce33716582f95f56bd936/packages/store/src/-private/record-arrays/identifier-array.ts#L647C11-L674
RFC https://github.com/emberjs/rfcs/pull/1026