in filament/filament/src/Resources/Pages/ListRecord.php
on line 129:
->recordAction(function (Model $record, Table $table): ?string {
and on line 162:
if (! $table->hasCustomRecordUrl()) {
$table->recordUrl(function (Model $record, Table $table): ?string {
still only accepts a "Model". but when using "custom data" as per documentation. the return type of a record is an array. so it should be
(Model|array $record, Table $table)
or do i need to do something else so it behaves like a "Model".?