Nested reified not working to create a ParameterizedTypeReference
I have the following inline function with a reified parameter to generalize an http resource get:
inline fun getResources(): ResponseEntity {
val httpEntity = HttpEntity(null, httpHeaders)
val resourceStr = getResourceString()
return rest.exchange(testContext.baseUrl + "/api/v1/$resourceStr", HttpMethod.GET,
httpEntity, typeRef())
}
And I am building the ParameterizedTypeReference with the typeRef support function:
inline fun typeRef():...