Skip to content
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

Usage of typeKey has been deprecated warning with Ember-Data 1.0.0-beta.18 #62

Closed
OleRoel opened this issue Jun 2, 2015 · 2 comments
Closed

Comments

@OleRoel
Copy link
Contributor

OleRoel commented Jun 2, 2015

I get a lot of 'DEPRECATION: Usage of typeKey has been deprecated and will be removed in Ember Data 1.0. It has been replaced by modelName on the model class.' messages in my console lately.

The warning has been introduced with 1.0.0-beta.18:

https://github.com/emberjs/data/blob/master/CHANGELOG.md#release-100-beta18-may-18-2015

@OleRoel
Copy link
Contributor Author

OleRoel commented Jun 3, 2015

Not sure if the fix is really that simple, but a quick find/replace of typeKey with modelName in addon/adapters/pouch.js makes the deprecation warning go away. Time for a PR? And what's about backward compatibility?

@nolanlawson
Copy link
Member

fixed by #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants