Hi, thank you for this awesome package
I have a weird issue:
use Filament\Actions\Action;
use Filament\Notifications\Notification;
use Opis\Closure\Serializer;
$serialized = Serializer::serialize(Notification::make()
->title(static fn (): string => 'title' /*for example*/)
->danger()
->actions(fn () => [
Action::make('monitor_logs')
->label(static fn (): string => 'label' /*for example*/)
->color('info')
->button()
->action(fn () => 1 /*for example*/)
]));
$unserialized = Serializer::unserialize($serialized);
In the above code when the notification is unserialized everything works fine except for the notification's Action's action fn() => 1 it becomes the closure of the notification's actions' function fn() => [...] although the notification's Action's label is returned as expected?
Hi, thank you for this awesome package
I have a weird issue:
In the above code when the notification is unserialized everything works fine except for the notification's Action's action
fn() => 1it becomes the closure of the notification's actions' functionfn() => [...]although the notification's Action's label is returned as expected?