laravel-schematics icon indicating copy to clipboard operation
laravel-schematics copied to clipboard

Creating Resource Controller when add Model

Open imClement opened this issue 4 years ago • 2 comments

Hello,

In my tests, when adding a Model and check "Resource Controller" it does add a Controller in the Controllers folder but it doesn't contain CRUD methods.

imClement avatar May 16 '20 06:05 imClement

Hi @ClementN,

That's unfortunate. Could you add some more information about your situation? f.e. OS, Laravel & PHP version.

mtolhuys avatar May 20 '20 23:05 mtolhuys

Hello @mtolhuys,

I saw this problem while testing the latest version of Schematics 0.10.3 of Laravel 7.12 and PHP 7.2, Chrome browser.

Since then, I upgraded to PHP 7.4 and this issue is not reproduced anymore. But I do not have the chance to test again with PHP 7.2.

imClement avatar May 23 '20 13:05 imClement