You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On .set():
This ones easy, just use the given validation method.
On .save():
This ones seems a bit trickier since we are saving the parent entity and don't have a direct reference to which sub-entity action to use. Would it be overly hacky to do something like
How would we want to validate nested entities?
On .set():
This ones easy, just use the given validation method.
On .save():
This ones seems a bit trickier since we are saving the parent entity and don't have a direct reference to which sub-entity action to use. Would it be overly hacky to do something like
Where address is a nested entity and the "action" is the name of the sub-entities action we want to use for validiting the given sub-entity.
I still haven't confronted this issue so I'm kinda taking a shot in the dark, however, .set() and .save() should be common use-cases.
The text was updated successfully, but these errors were encountered: