-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
API Resource Support #1515
Comments
It's not yet supported but you can convert it to collection instead for a workaround. $items = ItemList::collection(Item::get())->collection->pluck('resource');
return DataTables::of($items)->make(true); |
Thanks for your reply. But this will return the collection of Items model, not the Resource API model. |
Fixed on #1702 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary of problem or feature request
Is current version supports Eloquent API Resource?
As I am getting an Error:
Code snippet of problem
System details
The text was updated successfully, but these errors were encountered: