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
JsonModel implements a ->delete() method that emits deleting and deleted Eloquent events, then sets the model to null in the upstream model.
The problem is this won't work of the JsonModel is in a CollectionOfJsonModels, because the collection expects every element to continue to validate as the original model.
JsonModel implements a
->delete()
method that emitsdeleting
anddeleted
Eloquent events, then sets the model to null in the upstream model.The problem is this won't work of the JsonModel is in a CollectionOfJsonModels, because the collection expects every element to continue to validate as the original model.
so instead we've taken to using the very un-Eloquenty approach
Proposed Fix:
The text was updated successfully, but these errors were encountered: