Hello,
When generating ServiceStack references static property responseType is not properly generated.
Example:
@Route("/user")
open class UserRequest : IReturn<UserResponse>
{
companion object { private val responseType = UserResponse::class.java }
override fun getResponseType(): Any? = responseType //error - getting infinite loop
}
I think that it should be:
@Route("/user")
open class UserRequest : IReturn<UserResponse>
{
companion object { private val responseType = UserResponse::class.java }
override fun getResponseType(): Any? = UserRequest.responseType
}