Pivot model not invalidating cache.
Opened this issue · 2 comments
mikebronner commented
@mikebronner I just seen a potential issue when using pivot models (https://laravel.com/docs/12.x/eloquent-relationships#defining-custom-intermediate-table-models).
Cache is not invalidated once an attachement or detachment is processed trough such a pivot model, in fact, the action is not detected at all inpivotSynced,pivotAttached, ... events.
Is this something that is not yet covered by the package ?
mikebronner commented
@Okipa I'll have to dig in and verify. If anyone else knows, please chime in.
mikebronner commented