laravel-magiclink icon indicating copy to clipboard operation
laravel-magiclink copied to clipboard

setMagiclinkId(): Argument #1 ($magiclinkId) must be of type string, LazyUuidFromString given

Open rossbearman opened this issue 2 months ago • 0 comments

setMagiclinkId() on ActionAbstract requires a string, but Str::uuid() in Laravel 9+ will return a LazyUuidFromString, which isn't being cast.

Casting it to a string in the creating() observe resolves this issue.

rossbearman avatar Apr 27 '24 13:04 rossbearman