dingo / dingo/api

Cant supply a array to the Item Method in the response object.

Open
#992 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.