You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
directoryBrowsers and Operating System
The text was updated successfully, but these errors were encountered: