-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
JSONAPISerializer error when following 4.1 docs #92
Comments
I just encountered this on 3.28 with 3.0 of classic decorator for adapters. I followed the trail back into ember-data and JSONAPIAdapter extends RestAdapter which includes a mixin, so it seems to be correct for that case. Have you followed your ApplicationSerializer inheritance back? |
@kategengler I have also just experienced this when extending from my I also followed the trail back and I see what you are saying about Thanks so much for your help in clarifying! |
I don't believe I believe that when using this addon, that error is correct and the If you don't have this addon in your app, this error should not occur and everything should work, since this addon is dev-only and for guidance upgrading only. I cannot explain why it doesn't happen in the |
@emberjs/ember-data-core any ideas? |
Thanks so much!! I think my main confusion was that our upgrade path was to reduce the usage of Just to extra confirm for anyone else stumbling on this issue: Are you saying that if this is the last instance in our app where the error is thrown (because of extending framework-supplied |
Yes, I believe you can remove it. As you say, newly generated apps do not have |
When using the 3.0 classic decorator on a 4.1 app we get this error on our application serializer. Oddly enough on our 3.28 version with the 2.0 decorator we didn't see this error. I've added the
@classic
decorator to allow the app to load, but seems like this is a mistake.The text was updated successfully, but these errors were encountered: