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 am experiencing an issue where my parent object and nested relation are both saved correctly to their respective tables, but the parent model object passed to it's Observer created() method does not contain the nested relationship because it hasn't yet been created. The created() method passes the parent model off to an email mechanism that relies upon some data inside the child object and fails when that data evaluates to null. Is there any way to specify that the nested object(s) be stored first so that that parent relation method can find them? Or some other solution I could employ?
The text was updated successfully, but these errors were encountered:
I am experiencing an issue where my parent object and nested relation are both saved correctly to their respective tables, but the parent model object passed to it's Observer created() method does not contain the nested relationship because it hasn't yet been created. The created() method passes the parent model off to an email mechanism that relies upon some data inside the child object and fails when that data evaluates to null. Is there any way to specify that the nested object(s) be stored first so that that parent relation method can find them? Or some other solution I could employ?
The text was updated successfully, but these errors were encountered: