You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have an example that shows the usage of MapStruct with array (like int[] ) to immutable list with specific add and addAll (like in protobuf).
The issue list is not meant for asking questions, if you need to ask a question then please use StackOverflow.
Mapping between an array and List should work, so I would suggest to first try without protobuf and then see why it doesn't work with protobuf. If it is not working without protobuf please raise an issue in the mapstruct project.
Good point @seime, thanks for pointing it out. Btw @seime if you want we could add the mapstruct-spi-protobuf in the MapStruct Documentation, feel free to add a PR
Hi,
Would be nice to have an example that shows the usage of MapStruct with array (like int[] ) to immutable list with specific add and addAll (like in protobuf).
example:
proto file
java file
Mapper
Error:
Can't map property "Permission[] permissions" to "PermissionDTO permissionsList".
### Desired solution:
or
Is it possible to do this with actual release?
The text was updated successfully, but these errors were encountered: