smartstruct icon indicating copy to clipboard operation
smartstruct copied to clipboard

add the fill data straightly way

Open SkyeVaccu opened this issue 2 years ago • 0 comments

When I use this plugin , I can't fill the data straightly into the target object . I add the isStraight into @Mapping annotation and change the _targetToSource method . I just change the implement way , not to change the content. So it has created the all previous example successfully after my test.

It makes we can straightly fill the data into the target as the field , we don't need to package the parameter as the function or bean when we are in the easy situation. The example is the the dog_example folder.

SkyeVaccu avatar Sep 17 '22 09:09 SkyeVaccu