Fractal::collection return wrong data #214
Unanswered
tranghaviet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
when I use
fractal()->collection($collection, new MyTransformer())
for 3 different collections it return turn data as expectedBut when I use
\Spatie\Fractal\Facades\Fractal::collection($collection, new MyTransformer())
it all return same data (the last one I pass)Beta Was this translation helpful? Give feedback.
All reactions