Skip to content

Polymorphic field parsing order should not matter #392

@ClickerMonkey

Description

@ClickerMonkey

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions