jhipster / jhipster/jdl-studio

JDL Studio

Open
#135 4 comments 0 reactions 0 assignees View on GitHub
area: bug :bug: theme: jhipster-online
Dominant language
TypeScript
Stars
407
Forks
116
Avg merge
11h 37m
Merged PRs (30d)
2

Description

##### **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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.