Cant supply a array to the Item Method in the response object.
Open
discussion
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
The item method on the response object must require an object and does not allow an array.
If I use the array method the transformer you pass does nothing..
Currently having to use ArrayObject to change array to object..
Doesnt quite make sense as Fractal allows both arrays and objects.
Contributor guide
Assessment
This issue has not been assessed yet.