-
-
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
cleanup jdl and reduce dependency on jhipster #27151
Conversation
@@ -91,12 +85,12 @@ describe('jdl - OptionConverter', () => { | |||
before(() => { | |||
convertedOptions = convertOptions({}, [ | |||
{ | |||
optionValues: [MAPSTRUCT, COUCHBASE], | |||
optionValues: ['mapstruct', 'elasticsearch'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More consistency is more valuable than decoupling. Jdl should be split into generator so each part create the dsl. Jdl should not be decoupled from generator but instead integrated into each of them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imho, this pr comes with regressions : using constants helps folding to provide complete feature enhancement. This pr breaks that useful feature.
I do not see any added value decoupling jdl and generator as the main end user usage is the jdl triggering generator : jdl should be modularized and fragmented into generators instead of being decoupled and only covering partial coverage
Related to #27136
Please make sure the below checklist is followed for Pull Requests.
When you are still working on the PR, consider converting it to Draft (below reviewers) and adding
skip-ci
label, you can still see CI build result at your branch.