eduardog3000
09/17/2020, 6:32 PM@class:Controller
@GetMapping("/test")
fun singleFunController() = "viewname"
At the moment all top level functions in a file compile to the same class, so any with a class annotation would have to compile to its own class, presumably with a name based on the function name, SingleFunControllerKt
or something. Probably a little limited in use, but it would be neat.Fleshgrinder
09/18/2020, 5:35 AM