Skip to content

Conversation

@artengin
Copy link
Contributor

Refs: #179

@artengin artengin self-assigned this Oct 29, 2025
@artengin
Copy link
Contributor Author

Cannot create Model:
изображение
изображение

Cannot create Repository:
изображение
изображение

Cannot create Service:
изображение
изображение

Cannot create Controller:
изображение
изображение

Cannot create Factory:
изображение
изображение

Cannot create Nova resource:
php artisan make:entity Post
изображение
php artisan make:entity Forum/Post
изображение

@artengin
Copy link
Contributor Author

Currently, generating Requests, Resources, Migrations, Tests, and Seeders doesn’t verify whether the models exist. If this is a problem, we can go over the details, and I can revise the implementation.

@artengin artengin assigned AZabolotnikov and unassigned artengin Oct 30, 2025
@artengin
Copy link
Contributor Author

I suggest adding checks before generation:

  • For Requests, verify the existence of the Controller
  • For Resources, verify the existence of the Controller
  • For Migrations, verify the existence of the Model
  • For Tests, verify the existence of both the Model and the Controller
  • For Seeders, verify the existence of the Factory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants