-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set custom serializer for includes file #392
Comments
Faced the same issue. It would be great to get any feedback from package maintainers. |
@DeRain @stefensuhat
|
See #315 (comment) for a work around |
@JayBizzle is there any reason why this workaround would no longer be working? Our app was working great for the longest time, then we updated to Laravel 5.5 and all of a sudden I can't get that data key to go away. I've tried setting the default_serializer in the config file and using the manager to set a custom serializer. |
You must change the default serializer in config/fractal.php |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 4 weeks if no further activity occurs. Thank you for your contributions. |
HI,
I've been wondering is there any chance that i can use above class at includes?
For example:
I need to use those fractal to remove the additional data key on the result.
Here is the result I get:
Expected result:
Can I include custom serializer on that includes?
The text was updated successfully, but these errors were encountered: