Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The cookie support seems lackcluster. I'd prefer good support for real cookies instead of "stuff JSON into a single cookie".

Also the URL parameter API is clumbersome:

    Integer myValue = ctx.queryParamAsClass("value", Integer.class).getOrDefault(788) // validate value
I would prefer some specialized API like:

    int myValue = ctx.queryParamAsInt("value", 788);


Given that it's kotlin, one could easily make an extension function like that yourself and enhance the API to your liking.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: