Hi all,
I must admit I was not convinced by MapStruct at first sight but after I took time to understand it I really enjoyed it, thanks for this great feature.
One thing that bugged me a little is with an entity Order with OneToMany relationship with OrderItem entities, the OrderDTO does not include the List<OrderItem> property.
In my case it, I wanted to be able to create the Order with its OrderItems with a single POST.
Rather than having not generating it in DTO, I think it would be nicer to generate full mapping but add ignore=true by default in the Mapper.
I also think that we could add more comments in generated code to guide the developer maybe by a link to mastruct doc.
Cheers,
Gael