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 tried to create a custom BelongsToMany relationship that dispatches events when the sync, attach or detach method is called. My relationship does not use pivot models. It seems though that Nova does not call the attach or detach methods. Is there a way to dispatch events only using the relationship? Or should I create a pivot model and listen for model events for that pivot model?
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 tried to create a custom BelongsToMany relationship that dispatches events when the sync, attach or detach method is called. My relationship does not use pivot models. It seems though that Nova does not call the attach or detach methods. Is there a way to dispatch events only using the relationship? Or should I create a pivot model and listen for model events for that pivot model?
Beta Was this translation helpful? Give feedback.
All reactions