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 beta] convert single record sideloaded records to plural #4314

Conversation

fivetanley
Copy link
Member

Before, _normalizeArray would call forEach even if the object wasn't
an array. We guard against it by using Ember.makeArray.

fixes #3805

#3805

Before, `_normalizeArray` would call `forEach` even if the object wasn't
an array. We guard against it by using `Ember.makeArray`.

fixes emberjs#3805

emberjs#3805
@fivetanley fivetanley force-pushed the convert-sideloaded-singular-to-sideloaded-plural branch from 18b7ca3 to c68d0ef Compare April 8, 2016 19:24
@pangratz
Copy link
Member

pangratz commented Apr 9, 2016

👍 LGTM

@bmac bmac merged commit 40d9949 into emberjs:master Apr 9, 2016
@bmac
Copy link
Member

bmac commented Apr 9, 2016

Thanks @fivetanley

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.

findRecord for side loading payloads expects not primary records were arrays
3 participants