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
I have a validation function I run as a BeforeUpdateHook on one model. It runs some checks an associated model (in the context of the local model), and it would improve code flow if I could rely on
Local.SetForeign(_, _, foreignObject)
rather than setting the foreign ID and calling local.Update.
I'd love to take a stab at this if you don't have any objections to it.