Thank you so much for adding the Proto example. The example works.
But I failed to mapList<String>
repeated string allowed_drivers;ProtocolStringList.The crux of the issue is:
The generated codes still tries to do:
builderr.getAllowedDriversList().addAll(sourcePojo.getPermittedDrivers());
Instead of doing the builder.add() operation like the permissions.
This piece of generated codes failed in run time because targetProtoBuilder.getAllowedDriversList() returns an immutable ProtocolStringList, which throws UnsupportedException on the its addAll() method.
Can someone give some pointers on how to make 'repeated string' field works?
Thanks a lot.
--
You received this message because you are subscribed to a topic in the Google Groups "mapstruct-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstruct-users/cTjkHrlsnuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstruct-use...@googlegroups.com.
To post to this group, send email to mapstru...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
FilipMy understanding after reading #1338 is that the solution is not yet publicly available? What is a PR?
On Mon, Jan 29, 2018 at 2:44 PM Filip Hrisafov <filip.h...@gmail.com> wrote:
Hi Francis,--We already have an open issue for this. Have a look at #1338. Look at my reply there for a solution.If you are interested you can also provide a PR with the fix.Cheers,Filip
You received this message because you are subscribed to a topic in the Google Groups "mapstruct-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mapstruct-users/cTjkHrlsnuI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mapstruct-users+unsubscribe@googlegroups.com.
To post to this group, send email to mapstruct-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mapstruct-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstruct-users+unsubscribe@googlegroups.com.
To post to this group, send email to mapstruct-users@googlegroups.com.