You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Impl idea: wrap java.time constructs myself so that the user can specify kog.ZonedDateTime(Formatter) like above and then start.get() to unwrap them back into java.time constructs. Or instead of wrapping construct, provide an interface that user can extend.
Basically need user to provide the destination class and a formatter that attempts to parse param into that object.
It would be nice to have type-safe routes that only match if the provided formatter can parse the param.
e.g. This would be cool:
Impl idea: wrap
java.time
constructs myself so that the user can specifykog.ZonedDateTime(Formatter)
like above and thenstart.get()
to unwrap them back intojava.time
constructs. Or instead of wrapping construct, provide an interface that user can extend.Basically need user to provide the destination class and a formatter that attempts to parse param into that object.
Reminder: http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html
A
Hex
matcher would be nice, too. e.g. hashes.Consider a way to support arbitrary loaders like
get("/users/<id>", fun(user: User) = ...)
.The text was updated successfully, but these errors were encountered: