Skip to content
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

Method all( ) is not working #22

Closed
andreacivita opened this issue May 15, 2019 · 2 comments
Closed

Method all( ) is not working #22

andreacivita opened this issue May 15, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@andreacivita
Copy link
Owner

Describe the bug
Method all is using CRUD table and not working for other db

To Reproduce
Steps to reproduce the behavior:

  1. Use db not named 'crud'
  2. php artisan make:crud --all
  3. See error "not finding tables_in_crud"
@andreacivita andreacivita self-assigned this May 15, 2019
@andreacivita andreacivita added the bug Something isn't working label May 15, 2019
@andreacivita andreacivita changed the title All not working Method all( ) is not working May 15, 2019
@andreacivita andreacivita mentioned this issue May 21, 2019
Closed
@andreacivita
Copy link
Owner Author

Fixed

@softwarefan
Copy link

Executing command: php artisan make:crud --all gives me this error:

TypeError
Argument 2 passed to AndreaCivita\ApiCrudGenerator\Core\Generators\RouteGenerator::setData() must be of the type bool, null given, called in D:\wamp64\www\test\vendor\andreacivita\api-crud-generator\src\Commands\ApiCrudGenerator.php on line 249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants