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

Fractal 0.20.0 supprot

Open beeyev opened this issue 2 years ago • 3 comments

Hello, Could you please add support of the new Fractal version - 0.20.0

beeyev avatar Jun 16 '22 15:06 beeyev

Hello, is this project dead?

I get this error since upgrading to Laravel 9 and PHP 8.1: Return type of League\Fractal\Scope::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vendor/league/fractal/src/Scope.php on line 298

This was fixed in fractal package on 0.20 but this package still requires 0.19

maid450 avatar Nov 08 '22 09:11 maid450

Hi, the package isn't dead per se - but I'll admit I haven't had much time to work on it for the past couple of years. I'm trying to find some time to release the next major version which is almost done and removes Fractal as a dependency (in favor of Laravel's API resources). With that said, I'll try to find some time to upgrade this version to add support for Fractal 0.20 as well.

flugg avatar Nov 14 '22 10:11 flugg

Can you quickly add support for 0.20 in the meantime?

r0bdiabl0 avatar Feb 10 '23 22:02 r0bdiabl0