-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
New sub generators for modularity #15490
Comments
This issue is stale because it has been open 30 days with no activity. |
Keep it open |
This issue is stale because it has been open 30 days with no activity. |
I have been thinking on how to better integrate entities. Keeping same architecture that adds an entity-foo generator for each foo (eg sql, mongodb, cassandra, neo4j, couchbase, elasticsearch, angular, react, vue) generator, our generators will become too bloated. So we should drop entity-* generators and replace with:
|
How will it do the trick when two generators will participate to one same file, e.g. elastic & sql? will elastic depend on sql? |
We should implement as modular templates. The fallback is to implement in the parent. |
This issue is stale because it has been open 30 days with no activity. |
Keep open. |
I'm not sure this is the best place to add this comment. However, since this is the main issue targeting v8, I figured I'd add it here. When hanging out with @joshlong a couple of weeks ago, he noticed how much XML a JHipster This made me wonder: can we do more to make this possible? If we extend Can we move more code into the Back in the day, I modified AppFuse so it was modular and new projects had very little XML in |
Hi @mraible , Not extending the parent pom was a suggestion coming from @jdubois : usually, companies have their own company poms (for example to manage distributionManagement), that's why we moved back to standalone mode. Regarding jhipster-framework and code, we could also provide our spring-boot-starter project suite. |
This issue is stale because it has been open 30 days with no activity. |
Following this Tweet: https://twitter.com/juliendubois/status/1469225642122166274 Doing it in main generator-jhipster is not a good idea. So this ticket can be closed. |
Overview of the feature request
The discussion started here https://groups.google.com/g/jhipster-dev/c/y_sER_CM3Hc
Motivation for or Use Case
The goal will be to start to create some new sub generators. To resume quickly:
Pro:
Cons:
Then later, when the v8 will start, we'll migrate the existing sub generators into the new ones.
For now, no impact on existing projects as all these new sub generators are totally independent!
Roadmap
We can start to add these following sub generator:
Then, we can think about:
spring-boot-mvc
spring-boot-reactive
security-jwt
security-oauth2
database-postgresql
database-mysql
etc.
Checking this box is mandatory (this is just to show you read everything)
The text was updated successfully, but these errors were encountered: