-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] Polymorphic won't work #3547
Comments
This is a bug. It looks like the issue is the serializer is calling |
👍 thanks! |
👍 |
What about this RFCS? |
@marcemira I think that RFC will solve this bug. And I suspect it will be very hard to fix until then. We can make it use the correct serializer but that's only one part of it. |
@wecc In order to continue working on my app, can I do something to patch it until then? What would you suggest me to do?. Thanks man |
Hm, I though this was about doing |
Hello @wecc can I help in any way? How does the payload is supposed to look like today(assuming it's working)?. I think it's has something to do with ED not serializing the payload when it doesn't represent a primary type, It just returns an empty serialized data... isn't that correct? Thanks |
…pe when normalizing async relationships. Closes emberjs#3547
…pe when normalizing async relationships. Closes emberjs#3547
…pe when normalizing async relationships. Closes emberjs#3547
…pe when normalizing async relationships. Closes emberjs#3547
Hello, I'm trying to work with polymorphic relations, the problem seems to be that it ignores the payload "type" attribute, It will use the payload primary key as modelType instead.
Here is a JsBin: http://emberjs.jsbin.com/wilavu/edit?html,js,output
Let me know what am I doing wrong, if is not a bug I'm really sorry, please close this issue.
Thanks
The text was updated successfully, but these errors were encountered: