-
Notifications
You must be signed in to change notification settings - Fork 70
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
Cannot instantiate abstract class... #86
Comments
Everything looks OK to me. @enzonotario mind sharing PisoController so I can try recreate the scenario? Maybe it's something there. You need to inherint the Controller provided by this package to make it work. |
Yes, I have PisoController:
I use this package with https://github.com/jadjoubran/laravel5-angular-material-starter |
If I use the laravel5-jsonapi-dingo package, I get: |
Check DB connection |
Yes, now it works... but I don't understand how to do validations. I create a Form Request but it doesn't work.. if I use the "manual validation" doesn't work too... can anyone give me an example of how to use this package with "business validations"? Thanks! |
Hi!, I'm trying to implement this in laravel but when I run
php artisan route:list
for example, I get:Cannot instantiate abstract class Illuminate\Database\Eloquent\Model
I have a model called Piso:
a PisoTransformer:
In my routes.php I have:
Route::resource('pisos', 'PisoController');
and in config/jsonapi.php:
Can someone help me please??.. and sorry, I don't speak english so if anything is wrong...
Thanks!
The text was updated successfully, but these errors were encountered: