Skip to content
Advertisement

Jhipster4: what are the benefits of using DTO

Jhipster4 adds Data Transfer Objects (DTO) just what is the benefit of using DTO objects?

Advertisement

Answer

Main benefit is to control more precisely which properties you expose from your entities and also to expose entity aggregates rather than single entities.

Advertisement