Replies: 1 comment 2 replies
-
I had a similar problem with Try including the type within the property definition for IE
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got an error
Type of App\Transformers\suratTransformer::$availableIncludes must be array (as in class League\Fractal\TransformerAbstract)
inlaravel-fractal:"^5.8"
and i'm usingLaravel 8
,php7.4
What's wrong with my code?
when I comment out
$availableInclude
everything works fine, but theincludeTembusan
I expect doesn't show upThis My SuratTransformers
This my SuratModel
This my Controller
This my relation table
Can anyone explain where I'm going wrong? and what should i fix?
Beta Was this translation helpful? Give feedback.
All reactions