Given a class definition `class Request<I>(v...
# reflect
v
Given a class definition
class Request<I>(val body: I)
can I get the
KType
of
I
when the
Request
is constructed? Nothing is reified and I definitely cannot call
typeOf<I>
.
a
Untitled.cpp
Constructor visibility can also be set to private/internal depending on if you you want users to be able to pass in arbitrary types or not