Replies: 1 comment
-
You're going to need to write your own normalizer: https://spatie.be/docs/laravel-data/v4/advanced-usage/normalizers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to get a collection of MyInterface Items.
But I got an error: "Exception: Unable to normalize items".
On laravel-data/src/Resolvers/DataCollectableFromSomethingResolver.php:158
I had my interface:
And usage:
Beta Was this translation helpful? Give feedback.
All reactions