rekord
rekord copied to clipboard
Polymorphic field parsing order should not matter
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.