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] JSONAPISerializer missing pushPayload #3409

Merged
merged 1 commit into from
Jun 22, 2015

Conversation

wecc
Copy link
Contributor

@wecc wecc commented Jun 21, 2015

Closes #3403

@return {Object}
@private
*/
_normalizeDocumentHelper: function(documentHash) {
Copy link
Member

Choose a reason for hiding this comment

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

Just curious, why introduce _normalizeDocumentHelper instead of calling _normalizeResponse directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It just felt wrong (no science here) to call _normalizeResponse with a lot of empty (or faked) parameters and there were already a couple of normalize-helpers so I figured why not.

@bmac
Copy link
Member

bmac commented Jun 22, 2015

👍

bmac added a commit that referenced this pull request Jun 22, 2015
[BUGFIX release] JSONAPISerializer missing pushPayload
@bmac bmac merged commit 4c5fcf6 into emberjs:master Jun 22, 2015
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.

None yet

2 participants