hello! Please consider this as question.
Assuming we ended up with strange modelling like this one Model1<Model2<Model3>>, present day version of JsonXConverterFactory, namely responseBodyConverter, will crash here type.actualTypeArguments.first() as Class<*> (because first() is also ParameterizedType, which, can go on and on)
Question: is it bug or feature? :) Clearly, this can be bypassed and surely this kind of modelling is bad in the first place, so I'm just curious about "creators intent" here.
hello! Please consider this as question.
Assuming we ended up with strange modelling like this one
Model1<Model2<Model3>>, present day version of JsonXConverterFactory, namely responseBodyConverter, will crash heretype.actualTypeArguments.first() as Class<*>(because first() is also ParameterizedType, which, can go on and on)Question: is it bug or feature? :) Clearly, this can be bypassed and surely this kind of modelling is bad in the first place, so I'm just curious about "creators intent" here.