-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
ember-data 2.14.0: DS.AdapterError.extend no longer working #5020
Comments
I get the same error on 2.14.1, same use case.
|
@runspired I just tried version 2.14.2 and I got the same error as before: |
@urbany tracked this down to the |
Ah, thanks @runspired I thought it might be that, but checked the features flag and the default is TRUE, shouldn't it work by default in this case? https://github.com/emberjs/data/blob/v2.14.2/config/features.json Maybe the docs about the AdapterError should reflect that it is behind a feature flag. https://emberjs.com/api/data/classes/DS.AdapterError.html |
I think @urbany is right. The release post for 2.13 also states that |
cc @rwjblue this is looking like an issue with the early defeaturify work. |
kk, I'll try to dig into it this afternoon |
Hi, sorry to bother you @rwjblue but have you managed to check this? It's preventing us from upgrading to 2.14 |
I encountered the same issue with 2.13 and have been holding off upgrade since. @rwjblue help much needed. Thanks in advance. |
Just a small update: If I add this to my
It seems to work. Since this feature is supposed to be ON by default there is still a bug here, but if anyone want to start using 2.14 before this is fixed, the code absove should get you going. Unfortunately I found another bug that is preventing me from upgrading so I'll keep on 2.13 for now. |
@urbany Thanks for your update. I can certainly use this workaround for the time being. |
This doesn't work for me on 2.13 or 2.14 and I can't use the canary build, is there a proper fix planned? |
@tinyweasel a number of bugs made there way in in 2.13 as part of refactored done. They are being ironed out, but Ember Data is complicated ... Looks like there is a pending fix here: #5107 |
Closing as this has been fixed in #5191 |
The following code was working on [email protected]
I got this from: https://emberjs.com/api/data/classes/DS.AdapterError.html (at the time of this posting the docs are still pointing to
TAG: V2.13.0
)And now with [email protected] I get the following error:
TypeError: _emberData.default.AdapterError.extend is not a function
The text was updated successfully, but these errors were encountered: