Jhipster sample using DTOs #27928
Unanswered
istibekesi
asked this question in
Q&A
Replies: 1 comment
-
|
This is normal in JHipster. Having DTOs does not automatically mean that JHipster will generate a service class. In JHipster, DTO generation and service generation are controlled by different JDL options. For example, this JDL: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've checked the samlpe projects within this repo, and I have a few questions about the one that says it uses DTOs:
BankAccountResource.java
How is this generated, what is the JDL being used?
It has DTOs, but why it does not have a "BankAccountService" implementation?
UPDATE
I've generated a brand new project with this super simple JDL:
It generates a BankAccountService and does the mapping in the service layer, not in the controller.
Why the sample project above is different?
Beta Was this translation helpful? Give feedback.
All reactions