You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry for the delayed response. Unfortunately, this is a limitation with the Fractal library. It only supports Primitive values as nested values. The root value must be serializable as an array. You would have to do something like:
use \App\Helper\Vendor\MakesResponses
Argument $resource should be an instance of League\Fractal\Resource\Item or League\Fractal\Resource\Collection
support $this->success(123)
The text was updated successfully, but these errors were encountered: