v79
04/13/2018, 4:23 PMrequest
(from Spark-Kotlin). It started with val person = Form(request,Person::class).get() as Person
. Then i created an extension function val person = request.bind(Person::class) as Person
. Latest version uses reified generics val person = request.bind<Person>()
. Are there any clear problems using the reified generic extension function approach?ghedeon
04/13/2018, 6:06 PMenumValues<Foo>()
reified approach is pretty commonCzar
04/13/2018, 6:37 PM