Saturday, May 6, 2017

Using Mapstruct with Protobuf3

Mapstruct works pretty nice for mapping protobuf3 Builders. The List get a suffix of "...List" in the Builder. As they are immutable and the adder method does not match that name I created a NamingStrategy to fix that:

Using Mapstruct with Protobuf3