rekord icon indicating copy to clipboard operation
rekord copied to clipboard

Polymorphic field parsing order should not matter

Open ClickerMonkey opened this issue 4 years ago • 0 comments

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 avatar May 01 '20 14:05 ClickerMonkey