Join Slack
Powered by
Given a class definition `class Request<I>(v...
# reflect
v
v79
05/23/2024, 8:52 PM
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
asdf asdf
05/23/2024, 9:36 PM
Untitled.cpp
Untitled.cpp
asdf asdf
05/23/2024, 9:37 PM
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
Open in Slack
Previous
Next