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

[BUGFIX release] squash normalizePayload deprecations #3569

Merged

Conversation

fivetanley
Copy link
Member

No description provided.

fivetanley added a commit that referenced this pull request Jul 21, 2015
…arnings

[BUGFIX release] squash normalizePayload deprecations
@fivetanley fivetanley merged commit 19bfaa3 into emberjs:release Jul 21, 2015
@fivetanley fivetanley deleted the squash-release-deprecation-warnings branch July 21, 2015 17:33
@@ -1468,7 +1468,10 @@ var JSONSerializer = Serializer.extend({
@return {Object} json The deserialized payload
*/
extractSingle: function(store, typeClass, payload, id, requestType) {
Ember.deprecate('`serializer.normalizePayload` has been deprecated. Please use `serializer.normalizeResponse` with the new Serializer API to modify the payload.', this.normalizePayload === JSONSerializer.prototype.normalizePayload);
if (!this.get('didDeprecateNormalizePayload')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this inside runInDebug somehow? Or inline in the deprecate

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

Successfully merging this pull request may close these issues.

2 participants