laravel-pivot-events
laravel-pivot-events copied to clipboard
This method has duplicate the custom observer events defined in the $observables property. Parent method getObservableEvents from \Illuminate\Database\Eloquent\Concerns\HasEvents has return merged array of default model events and $observables https://github.com/GeneaLabs/laravel-pivot-events/blob/3e076a8d266baf0833e7496ca4e5eb65d5df4b76/src/Traits/PivotEventTrait.php#L13-L25
**Describe the bug** After upgrading to Laravel 9 on March 25, we noticed that sync() on an Eloquent Pivot was not invalidating the model cache. I confirmed that sync() was...