I am using Kotlin and me returning kotlin.Unit from the route handler literally serializes it into a string that says "kotlin.Unit".
How am I supposed to return literally nothing?
I have tried returning null - but the framework has decided this means that the route is unhandled. And it made it a 404 and handled accordingly.
What the fuck?
Is it the empty string that I'm supposed to return?
I am using Kotlin and me returning kotlin.Unit from the route handler literally serializes it into a string that says "kotlin.Unit". How am I supposed to return literally nothing? I have tried returning null - but the framework has decided this means that the route is unhandled. And it made it a 404 and handled accordingly. What the fuck?
Is it the empty string that I'm supposed to return?