Filip Husnjak
04/17/2018, 8:01 AM`
class ApiController<T> where T: ApiModel, T: Table {
fun <T> index(ctx: Context) where T: ApiModel, T: Table {
T.serialize() <-- Not working, not found
transaction {
ctx.result()
}
`
this is what i have tried but i cannot get the ApiModel functions from my generic type T