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
But essentially we have data objects that closely resemble models but contain extra attributes.
We regularly use the pattern of SomeObject::from(new SomeModel($someArray)) to remove attributes from the data object that are not in a model before inserting into the database so that it doesn’t complain about an unknown column error
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is related to #980 but I don't think so
I have a chatgpt thread on the breaking change here: https://chatgpt.com/c/681a4819-27e8-8011-91e2-7de878248f31
But essentially we have data objects that closely resemble models but contain extra attributes.
We regularly use the pattern of SomeObject::from(new SomeModel($someArray)) to remove attributes from the data object that are not in a model before inserting into the database so that it doesn’t complain about an unknown column error
In 4.14 this breaks.
Beta Was this translation helpful? Give feedback.
All reactions