Open softberries opened 9 years ago
This issue is invalid, after further investigation and contacting extraterrestrial forms of life throughtout the night I have found out that its enough if we instead of (eg. for list of strings)
.ofType(List.class)
do
.ofType(String[].class)
:sunglasses:
This works with simple types, but we can't do this trick with List [ DTO ] directly. There is an option to use TypeReference, but it needs a lot of work to refactor in a way to make this usable.
At the moment processing list with ServiceRestClient has to be done with the following
This of course is unchecked and in other words sucks. What would be nice is to have smth like this:
which would process received list with specified type