When I read mapstruct documentation they say: MapStruct is a Java annotation processor for the generation of type-safe bean mapping classes.
https://mapstruct.org/documentation/stable/reference/html/#introduction
Which leaves me with the queston. Why do I need mapstruct? Jhipster uses it and I have no clue why did they need it for in the first place? Why you need a mapping inside Jhipster.
They also mention that .... Compared to writing mapping code from hand, MapStruct saves time by generating code which is tedious and error-prone to write. So it saves time but it does not explain why you need it, right?
Thanks. I hope they can modify the documentation with the doubts and explanations that are written down here.