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

[11.x] Fixes make:model for Form Requests #53052

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

joshmanders
Copy link
Contributor

If you do make:model and get the prompts to select what you want generated with the model, you can choose "Form Requests" but if you don't also choose "Resource Controller" you never get any form requests.

This PR fixes that so that form requests are generated even if you don't choose a controller to generate with it.

@joshmanders joshmanders changed the title Fix "make:model" for Form Requests [11.x] Fix make:model for Form Requests Oct 7, 2024
Copy link

@tjbarber tjbarber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this happens on v11.26

image

@crynobone crynobone changed the title [11.x] Fix make:model for Form Requests [11.x] Fixes make:model for Form Requests Oct 8, 2024
@taylorotwell taylorotwell merged commit bc02689 into laravel:11.x Oct 8, 2024
24 checks passed
@joshmanders joshmanders deleted the patch-1 branch October 8, 2024 18:32
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