flugg / laravel-responder

A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.
MIT License
861 stars 86 forks source link

Flugg\Responder\Serializers\NoopSerializer error for method null #201

Closed jackkitley closed 7 months ago

jackkitley commented 11 months ago

Got this error today. Not sure if it has been fixed somewhere?

Thanks

"class": "TypeError", "message": "Flugg\\Responder\\Serializers\\NoopSerializer::null(): Return value must be of type array, null returned",

Screenshot 2023-10-16 at 19 49 06

wahlmika commented 10 months ago

Any updates on this? We are having an issue with this also in our production environment?

ossycodes commented 7 months ago

fixed here https://github.com/flugg/laravel-responder/pull/202

flugg commented 7 months ago

Should be fixed now. Sorry for the late response. Let me know if you're still having issues!