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

Polymorphic field parsing order should not matter #392

Open
ClickerMonkey opened this issue May 1, 2020 · 0 comments
Open

Polymorphic field parsing order should not matter #392

ClickerMonkey opened this issue May 1, 2020 · 0 comments
Assignees
Labels

Comments

@ClickerMonkey
Copy link
Member

When a polymorphic relationship is being initialized and it comes to a given object to which there is and ID and discriminator on the parent object, if those properties were not parsed yet they are not detected and the model is not referenced.

  • Set non-relations first in putRemoteData.
  • Then set relations.
@ClickerMonkey ClickerMonkey self-assigned this May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant