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

Use the correct modelClass and serializer to extract a polymorphic ty… #3577

Merged
merged 1 commit into from
Aug 20, 2015

Conversation

bmac
Copy link
Member

@bmac bmac commented Jul 23, 2015

…pe when normalizing async relationships.

Closes #3547

@bmac
Copy link
Member Author

bmac commented Jul 23, 2015

@marcemira I believe this fixes #3547.

@igorT and @wecc can you review?

@wecc
Copy link
Contributor

wecc commented Jul 23, 2015

LGTM but we should implement the same thing here or it will only work for singular object root keys.

Maybe a private helper method wrapping this would be nice?

@marcemira
Copy link

👍 great! Thank you guys 😁

@jrhe
Copy link

jrhe commented Aug 19, 2015

I can confirm that this fixes #3547 but only for singular keys. Needs the fix @wecc mentioned.

@bmac
Copy link
Member Author

bmac commented Aug 20, 2015

@wecc, I have updated this pr. Do you mind reviewing it again?

@wecc
Copy link
Contributor

wecc commented Aug 20, 2015

I would like to DRY this up a bit and move the duplicate code to a helper but we can definitely do that later.

:shipit:

bmac added a commit that referenced this pull request Aug 20, 2015
Use the correct modelClass and serializer to extract a polymorphic ty…
@bmac bmac merged commit 0ad506c into emberjs:master Aug 20, 2015
@bmac bmac deleted the bug-3547 branch August 20, 2015 19:36
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.

4 participants