F
Filament11mo ago
Robin

Running an action before fetch of a resource

Is it possible to execute code before a resource gets fetched from the database? so like every time the resource gets called, I want to do some other code first.
2 Replies
LeandroFerreira
LeandroFerreira11mo ago
maybe using mountmethod in the ListPage?
Robin
Robin11mo ago
Yes, that will work! Thanks, I was thinking about doing it in the resource itself, but that does not extend any kind of livewire component.