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

Deprecate normalizeHash method on the rest serializer #4258

Merged
merged 1 commit into from
Mar 24, 2016

Conversation

bmac
Copy link
Member

@bmac bmac commented Mar 22, 2016

No description provided.

assert.expectDeprecation(function() {
env.restSerializer.normalizeResponse(env.store, HomePlanet, jsonHash, null, 'findAll');
}, /`RESTSerializer.normalizeHash` has been deprecated/)
});
Copy link
Member

Choose a reason for hiding this comment

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

much indentation, such ocd

Copy link
Member Author

Choose a reason for hiding this comment

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

Good 👀

@pangratz
Copy link
Member

LGTM. Let's hope this makes the cut in 3.0 😜

@bmac bmac force-pushed the deprecate-normalize-hash branch 3 times, most recently from 6fb9acc to 7936fb5 Compare March 23, 2016 16:15
@jsangilve
Copy link
Contributor

@bmac Shouldn't this remove old tests relying on normalizeHash or should they stay until 3.0?

@bmac
Copy link
Member Author

bmac commented Mar 24, 2016

I'd like to leave that test until 3.0 so the normalizeHash functionality doesn't regress.

@pangratz pangratz merged commit c776275 into emberjs:master Mar 24, 2016
@bmac bmac deleted the deprecate-normalize-hash branch March 24, 2016 15:19
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.

3 participants