JDL Studio
Overview of the issue
This is a bug for jdl studio. If there is a microservice with no entities, all entities will show in the application. The generator generates applications correctly.
Motivation for or Use Case
Microservice without entities.
Reproduce the error
Check out myApp1
application { config { baseName myApp, applicationType gateway, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, clientFramework react } entities * }
application { config { baseName myApp1, applicationType microservice, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, } }
application { config { baseName myApp2, applicationType microservice, packageName com.myapp, authenticationType jwt, prodDatabaseType mysql, } entities C }
entity A {}
entity B {}
entity C {}
entity D {}
relationship OneToMany { A to B }
Related issues
Suggest a Fix
JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
- [ ] Checking this box is mandatory (this is just to show you read everything)
what is the issue here? I don't understand what you are trying to say, please clarify
what is the issue here? I don't understand what you are trying to say, please clarify
As the OP mentioned the myApp1 has no reference to any entities so in the code no domain classes/entities are generated as expected. But in the JDL visualization all the entities are listed under myApp1 just like for myApp.
I am guessing the JDL visualization is buggy?
Ah ok. This is issue for another repo then
