How to apply snapshots with an array of references to an existing node? #1944
-
The first time while fetching a node from the database the model gets created with
Model
OtherModel
Update logic
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Seems to be working now. My mistake was to apply a node to a node. My repository already creates models and passes them to the update logic. With changing the update line to |
Beta Was this translation helpful? Give feedback.
Seems to be working now. My mistake was to apply a node to a node. My repository already creates models and passes them to the update logic. With changing the update line to
applySnapshot(presentEntity, getSnapshot(entityUpdate))
it started working :) Still leaving this discussion here because I couldn't find somebody else online to do something similar.