Skip to content

Pivot model not invalidating cache. #481

Open
@mikebronner

Description

@mikebronner

@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 in pivotSynced, pivotAttached, ... events.
Is this something that is not yet covered by the package ?

Originally posted by @Okipa in #479

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions