apache / apache/grails-core

Grails 5.0.1 generate-all generates only artifacts for the first domain

Open
#14,273 1 comment 0 reactions 0 assignees View on GitHub
relates-to: scaffolding
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

In my grails 5.0.1 instalation, the command generate-all is generating only the artifacts to the first domain. The command: grails generate-all business/ * --force

See below the domains list. Only the Area domais is considered for the command. Thanks.

![image](https://user-images.githubusercontent.com/23380171/141859098-db337767-0ac4-4c1c-b146-aa1448a762e6.png)

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `grails generate-all business/ * --force` in Grails 5.0.1 with multiple domain classes, confirming that only the first domain is processed. Trace the `generate-all` command entry point and compare its behavior across the listed domains; done means artifacts are generated for every domain rather than only Area.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.