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

cleanup jdl and reduce dependency on jhipster #27151

Merged
merged 8 commits into from
Sep 2, 2024
Merged

Conversation

mshima
Copy link
Member

@mshima mshima commented Sep 2, 2024

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.

@DanielFran DanielFran merged commit 9dd148b into jhipster:main Sep 2, 2024
52 checks passed
@mshima mshima deleted the types branch September 2, 2024 19:06
@@ -91,12 +85,12 @@ describe('jdl - OptionConverter', () => {
before(() => {
convertedOptions = convertOptions({}, [
{
optionValues: [MAPSTRUCT, COUCHBASE],
optionValues: ['mapstruct', 'elasticsearch'],
Copy link
Contributor

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

Copy link
Contributor

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

@mraible mraible added this to the 8.7.1 milestone Sep 21, 2024
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.

4 participants